diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-07-23 15:58:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-07-23 15:58:28 +0200 |
commit | 3c668556001d9ade8460f053a7bfdb6e606a106b (patch) | |
tree | 1ae2ef6ca3869ffdacbd955e6e9cefa292357972 | |
parent | 291ee836a6ddfc094004edc7f766279274a37595 (diff) |
remi-release: php70 repo for Enterprise Linux
-rw-r--r-- | remi-el.repo | 4 | ||||
-rw-r--r-- | remi-php70.repo | 18 | ||||
-rw-r--r-- | remi-release-el.spec | 15 |
3 files changed, 34 insertions, 3 deletions
diff --git a/remi-el.repo b/remi-el.repo index 27fe27d..75d162f 100644 --- a/remi-el.repo +++ b/remi-el.repo @@ -1,3 +1,7 @@ +# Repository: http://rpms.remirepo.net/ +# Blog: http://blog.remirepo.net/ +# Forum: http://forum.remirepo.net/ + [remi] name=Remi's RPM repository for Enterprise Linux VERSION - $basearch #baseurl=http://rpms.remirepo.net/enterprise/VERSION/remi/$basearch/ diff --git a/remi-php70.repo b/remi-php70.repo new file mode 100644 index 0000000..e8ad1aa --- /dev/null +++ b/remi-php70.repo @@ -0,0 +1,18 @@ +# This repository only provides PHP 7.0 and its extensions +# WARNING: If you enable this repository, you must also enable "remi" +# which provides common dependencies + +[remi-php70] +name=Remi's PHP 7.0 RPM repository for Enterprise Linux VERSION - $basearch +#baseurl=http://rpms.remirepo.net/enterprise/VERSION/php70/$basearch/ +mirrorlist=http://rpms.remirepo.net/enterprise/VERSION/php70/mirror +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi + +[remi-php70-debuginfo] +name=Remi's PHP 7.0 RPM repository for Enterprise Linux VERSION - $basearch - debuginfo +baseurl=http://rpms.remirepo.net/enterprise/VERSION/debug-php70/$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 ed4375a..1108131 100644 --- a/remi-release-el.spec +++ b/remi-release-el.spec @@ -1,11 +1,11 @@ Name: remi-release %if %{rhel} == 7 Version: 7.1 -Release: 1%{?dist} +Release: 2%{?dist} %endif %if %{rhel} == 6 Version: 6.5 -Release: 1%{?dist} +Release: 2%{?dist} %endif %if %{rhel} == 5 Version: 5.10 @@ -20,6 +20,7 @@ URL: http://remirepo.net Source0: RPM-GPG-KEY-remi Source1: remi-el.repo Source2: remi-safe.repo +Source3: remi-php70.repo BuildRoot: %{_tmppath}/%{name}-%{version} BuildArchitectures: noarch @@ -40,6 +41,7 @@ The repository is not enabled after installation. For PHP 5.4 you must use --enablerepo=remi yum option. For PHP 5.5 you must use --enablerepo=remi,remi-php55 yum option. For PHP 5.6 you must use --enablerepo=remi,remi-php56 yum option. +For PHP 7.0 you must use --enablerepo=remi,remi-php70 yum option. %if %{rhel} >= 6 Software Collections are in the main "remi" repository. %endif @@ -56,7 +58,8 @@ Le dépôt n'est pas activé après l'installation. %endif Pour PHP 5.4 vous devez utiliser l'option --enablerepo=remi Pour PHP 5.5 vous devez utiliser l'option --enablerepo=remi,remi-php55 -Pour PHP 5.5 vous devez utiliser l'option --enablerepo=remi,remi-php56 +Pour PHP 5.6 vous devez utiliser l'option --enablerepo=remi,remi-php56 +Pour PHP 7.0 vous devez utiliser l'option --enablerepo=remi,remi-php70 %if %{rhel} >= 6 Les "Software Collections" sont dans le dépôt principal "remi". %endif @@ -71,6 +74,9 @@ sed -e "s/VERSION/%{rhel}/" %{SOURCE1} | tee remi.repo %if %{rhel} == 7 sed -e "s/VERSION/%{rhel}/" %{SOURCE2} | tee remi-safe.repo %endif +%if %{rhel} >= 6 +sed -e "s/VERSION/%{rhel}/" %{SOURCE3} | tee remi-php70.repo +%endif %build @@ -101,6 +107,9 @@ rm -rf %{buildroot} %changelog +* Thu Jul 23 2015 Remi Collet <remmi@remirepo.net> - 7.1-2 and 6.5-2 +- add remi-php70 repository + * Tue Jun 2 2015 Remi Collet <remmi@remirepo.net> - 7.1-1 - add remi-safe repository - translate repository name |