diff options
author | Remi Collet <remi@remirepo.net> | 2020-08-17 12:24:31 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-08-17 12:24:31 +0200 |
commit | 7b6e037bf2e5d4d9b4bd116798a02d4a75585c3e (patch) | |
tree | e17439c667045e16f41021b17e4aa220943318cc | |
parent | 84eceb57b50f5910e8612e925f9bee0a0b893cef (diff) |
add php80 repositories
-rw-r--r-- | remi-release.spec | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/remi-release.spec b/remi-release.spec index 02b3bf4..95377f4 100644 --- a/remi-release.spec +++ b/remi-release.spec @@ -11,10 +11,10 @@ Name: remi-release Version: %{fedora} %if %{fedora} == 32 -Release: 1%{?dist} +Release: 2%{?dist} %endif %if %{fedora} == 31 -Release: 2%{?dist} +Release: 3%{?dist} %endif %if %{fedora} == 30 Release: 3%{?dist} @@ -55,6 +55,10 @@ as well as the public GPG keys used to sign them. The repository is not enabled after installation, so you must use the --enablerepo=remi option for %{pkgman}. +%if %{fedora} >= 31 +For PHP 8.0 you must enable the remi-php80 repository: + %{pkgman} config-manager --enable remi-php80 +%endif %if %{fedora} >= 29 && %{fedora} <= 31 For PHP 7.4 you must enable the remi-php74 repository: %{pkgman} config-manager --enable remi-php74 @@ -69,9 +73,13 @@ les RPM du dépôt "remi" ainsi que la clé GPG utilisée pour les signer. Le dépôt n'est pas activé après l'installation, vous devez donc utiliser l'option --enablerepo=remi de %{pkgman}. +%if %{fedora} >= 31 +Pour PHP 8.0 vous devez activer le dépôt remi-php80 + %{pkgman} config-manager --enable remi-php80 +%endif %if %{fedora} >= 29 && %{fedora} <= 31 Pour PHP 7.4 vous devez activer le dépôt remi-php74 - %{pkgman} config-manager --enable remi-php73 + %{pkgman} config-manager --enable remi-php74 %endif FAQ: https://blog.remirepo.net/pages/FAQ-en-Francais Forum: https://forum.remirepo.net/ @@ -82,11 +90,11 @@ Twitter: https://twitter.com/RemiRepository %setup -c -T sed -e 's/@VER@/73/;s/@DOTVER@/7.3/' %{SOURCE3} >remi-php73.repo sed -e 's/@VER@/74/;s/@DOTVER@/7.4/' %{SOURCE3} >remi-php74.repo +sed -e 's/@VER@/80/;s/@DOTVER@/8.0/' %{SOURCE3} >remi-php80.repo -sed -e 's/@VER@/71/;s/@DOTVER@/7.1/' %{SOURCE4} >remi-php71-test.repo -sed -e 's/@VER@/72/;s/@DOTVER@/7.2/' %{SOURCE4} >remi-php72-test.repo sed -e 's/@VER@/73/;s/@DOTVER@/7.3/' %{SOURCE4} >remi-php73-test.repo sed -e 's/@VER@/74/;s/@DOTVER@/7.4/' %{SOURCE4} >remi-php74-test.repo +sed -e 's/@VER@/80/;s/@DOTVER@/8.4/' %{SOURCE4} >remi-php80-test.repo sed -e 's/@VER@/91/;s/@DOTVER@/9.1/' %{SOURCE5} >remi-glpi91.repo sed -e 's/@VER@/92/;s/@DOTVER@/9.2/' %{SOURCE5} >remi-glpi92.repo @@ -99,8 +107,6 @@ echo empty build %install -rm -rf %{buildroot} - # PGP install -Dp -m 644 %{SOURCE2000} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi install -Dp -m 644 %{SOURCE2017} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2017 @@ -124,6 +130,10 @@ ln -s RPM-GPG-KEY-remi2018 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-r # YUM install -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/remi.repo install -Dp -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-test.repo +%if %{fedora} >= 31 +install -m 644 remi-php80.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php80.repo +install -m 644 remi-php80-test.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php80-test.repo +%endif %if %{fedora} >= 29 && %{fedora} <= 31 install -m 644 remi-php74.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php74.repo install -m 644 remi-php74-test.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php74-test.repo @@ -145,6 +155,9 @@ install -Dp -m 644 remi-glpi94.repo %{buildroot}%{_sysconfdir}/yum.repos.d/remi- %changelog +* Mon Aug 17 2020 Remi Collet <remi@remirepo.net> - 32-2, 31-3 +- add php80 repositories + * Mon Feb 17 2020 Remi Collet <remi@remirepo.net> - 32-1, 31-2, 30-3 - Fedora release 32 - new GPG key |