diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-06-30 14:35:19 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-06-30 14:35:19 +0200 |
commit | 5b280f8e47d13b67ef470f38a9c0fce2ef26f52f (patch) | |
tree | afdaea465303876bb8b00d8db2826a4bbd729ac4 | |
parent | d2de27fd5e0649a9fb38b2ec775587abe72c47cd (diff) |
remi-release: add remi-php71 repo configuration
-rw-r--r-- | remi-php71.repo | 32 | ||||
-rw-r--r-- | remi-release-el.spec | 26 |
2 files changed, 52 insertions, 6 deletions
diff --git a/remi-php71.repo b/remi-php71.repo new file mode 100644 index 0000000..a7a6506 --- /dev/null +++ b/remi-php71.repo @@ -0,0 +1,32 @@ +# This repository only provides PHP 7.1 and its extensions +# NOTICE: common dependencies are in "remi-safe" + +[remi-php71] +name=Remi's PHP 7.1 RPM repository for Enterprise Linux VERSION - $basearch +#baseurl=http://rpms.remirepo.net/enterprise/VERSION/php71/$basearch/ +mirrorlist=http://rpms.remirepo.net/enterprise/VERSION/php71/mirror +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi + +[remi-php71-debuginfo] +name=Remi's PHP 7.1 RPM repository for Enterprise Linux VERSION - $basearch - debuginfo +baseurl=http://rpms.remirepo.net/enterprise/VERSION/debug-php71/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi + +[remi-php71-test] +name=Remi's PHP 7.1 test RPM repository for Enterprise Linux VERSION - $basearch +#baseurl=http://rpms.remirepo.net/enterprise/VERSION/test71/$basearch/ +mirrorlist=http://rpms.remirepo.net/enterprise/VERSION/test71/mirror +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi + +[remi-php71-test-debuginfo] +name=Remi's PHP 7.1 test RPM repository for Enterprise Linux VERSION - $basearch - debuginfo +baseurl=http://rpms.remirepo.net/enterprise/VERSION/debug-test71/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi diff --git a/remi-release-el.spec b/remi-release-el.spec index bc7236d..27253c7 100644 --- a/remi-release-el.spec +++ b/remi-release-el.spec @@ -8,12 +8,12 @@ # Name: remi-release %if %{rhel} == 7 -Version: 7.1 -Release: 3%{?dist} +Version: 7.2 +Release: 1%{?dist} %endif %if %{rhel} == 6 -Version: 6.6 -Release: 2%{?dist} +Version: 6.8 +Release: 1%{?dist} %endif %if %{rhel} == 5 Version: 5.10 @@ -29,13 +29,17 @@ Source0: RPM-GPG-KEY-remi Source1: remi-el.repo Source2: remi-safe.repo Source3: remi-php70.repo +Source4: remi-php71.repo BuildRoot: %{_tmppath}/%{name}-%{version} BuildArchitectures: noarch Requires: yum -Requires: redhat-release >= %{rhel} -Requires: epel-release >= %{rhel} +# Sadly system-release and redhat-release are not versionned +Requires: redhat-release +Requires: epel-release = %{rhel} +# Ensure not installable on Fedora +Conflicts: fedora-release %description @@ -55,6 +59,9 @@ For PHP 5.6 you must enable the remi-php56 repository: For PHP 7.0 you must enable the remi-php70 repository: yum-config-manager --enable remi-php70 +For PHP 7.1 you must enable the remi-php71 repository: + yum-config-manager --enable remi-php71 + %if %{rhel} >= 6 Software Collections are in the "remi-safe" repository. %endif @@ -78,6 +85,9 @@ Pour PHP 5.6 vous devez activer le dépôt remi-php56 Pour PHP 7.0 vous devez activer le dépôt remi-php70 yum-config-manager --enable remi-php70 +Pour PHP 7.1 vous devez activer le dépôt remi-php71 + yum-config-manager --enable remi-php71 + %if %{rhel} >= 6 Les "Software Collections" sont dans le dépôt "remi-safe". %endif @@ -92,6 +102,7 @@ sed -e "s/VERSION/%{rhel}/" %{SOURCE1} | tee remi.repo %if %{rhel} >= 6 sed -e "s/VERSION/%{rhel}/" %{SOURCE2} | tee remi-safe.repo sed -e "s/VERSION/%{rhel}/" %{SOURCE3} | tee remi-php70.repo +sed -e "s/VERSION/%{rhel}/" %{SOURCE4} | tee remi-php71.repo %endif @@ -123,6 +134,9 @@ rm -rf %{buildroot} %changelog +* Thu Jun 30 2016 Remi Collet <remmi@remirepo.net> - 6.8-1 and 7.2-1 +- add remi-php71 repository + * Wed Dec 9 2015 Remi Collet <remmi@remirepo.net> - 6.6-2 and 7.1-3 - add remi-php70-test repository - fix information, remi is not more required by remi-phpxx |