summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-29 17:18:04 +0200
committerRemi Collet <remi@remirepo.net>2017-06-29 17:18:04 +0200
commit1c5b8da9bcb6adeb56d73a05dd0a0e1c80cd716c (patch)
tree03f01790fbe1c3d3b1818517beaa7c5b8d317543
parent5fe78cce538c0d3c0b36a196fc4c03bf14a0adfc (diff)
add remi-php72 configuration (EL)
-rw-r--r--remi-release-el.spec58
1 files changed, 26 insertions, 32 deletions
diff --git a/remi-release-el.spec b/remi-release-el.spec
index 1aa40c1..3846928 100644
--- a/remi-release-el.spec
+++ b/remi-release-el.spec
@@ -9,14 +9,10 @@
Name: remi-release
%if %{rhel} == 7
Version: 7.3
-Release: 1%{?dist}
-%endif
-%if %{rhel} == 6
-Version: 6.8
Release: 2%{?dist}
%endif
-%if %{rhel} == 5
-Version: 5.10
+%if %{rhel} == 6
+Version: 6.9
Release: 1%{?dist}
%endif
Summary: YUM configuration for remi repository
@@ -24,15 +20,16 @@ Summary(fr): Configuration de YUM pour le dépôt remi
Group: System Environment/Base
License: GPL
-URL: http://remirepo.net
+URL: https://remirepo.net
Source0: RPM-GPG-KEY-remi
Source1: remi-el.repo
Source2: remi-safe.repo
Source3: remi-php70.repo
Source4: remi-php71.repo
Source5: remi-php54.repo
+Source6: RPM-GPG-KEY-remi2017
+Source7: remi-php72.repo
-BuildRoot: %{_tmppath}/%{name}-%{version}
BuildArchitectures: noarch
Requires: yum
@@ -46,11 +43,9 @@ Conflicts: fedora-release
%description
This package contains yum configuration for the Remi's RPM Repository,
as well as the public GPG keys used to sign them.
-%if %{rhel} >= 6
+
Only the "remi-safe" repository is enabled after installation.
-%else
-The repository is not enabled after installation.
-%endif
+
For PHP 5.6 you must enable the remi-php56 repository:
yum-config-manager --enable remi-php56
@@ -60,20 +55,20 @@ For PHP 7.0 you must enable the remi-php70 repository:
For PHP 7.1 you must enable the remi-php71 repository:
yum-config-manager --enable remi-php71
-%if %{rhel} >= 6
+For PHP 7.2 you must enable the remi-php72 repository:
+ yum-config-manager --enable remi-php72
+
Software Collections are in the "remi-safe" repository.
-%endif
-FAQ: http://blog.remirepo.net/pages/English-FAQ
-Forum: http://forum.remirepo.net/
+
+FAQ: https://blog.remirepo.net/pages/English-FAQ
+Forum: https://forum.remirepo.net/
%description -l fr
Ce paquetage contient le fichier de configuration de YUM pour utiliser
les RPM du dépôt de Remi ainsi que la clé GPG utilisée pour les signer.
-%if %{rhel} >= 6
+
Seul le dépôt "remi-safe" est activé après l'installation.
-%else
-Le dépôt n'est pas activé après l'installation.
-%endif
+
Pour PHP 5.6 vous devez activer le dépôt remi-php56
yum-config-manager --enable remi-php56
@@ -83,11 +78,13 @@ Pour PHP 7.0 vous devez activer le dépôt remi-php70
Pour PHP 7.1 vous devez activer le dépôt remi-php71
yum-config-manager --enable remi-php71
-%if %{rhel} >= 6
+Pour PHP 7.2 vous devez activer le dépôt remi-php72
+ yum-config-manager --enable remi-php72
+
Les "Software Collections" sont dans le dépôt "remi-safe".
-%endif
-FAQ: http://blog.remirepo.net/pages/FAQ-en-Francais
-Forum: http://forum.remirepo.net/
+
+FAQ: https://blog.remirepo.net/pages/FAQ-en-Francais
+Forum: https://forum.remirepo.net/
%prep
@@ -99,6 +96,7 @@ 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
sed -e "s/VERSION/%{rhel}/" %{SOURCE5} | tee remi-php54.repo
+sed -e "s/VERSION/%{rhel}/" %{SOURCE7} | tee remi-php72.repo
%endif
@@ -107,10 +105,9 @@ echo empty build
%install
-rm -rf %{buildroot}
-
# PGP
install -Dp -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi
+install -Dp -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2017
# YUM
for repo in *repo
@@ -119,17 +116,14 @@ do
done
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/yum.repos.d/remi*repo
-%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi
+%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi*
%changelog
+* Thu Jun 29 2017 Remi Collet <remmi@remirepo.net> - 6.9-1 and 7.3-2
+
* Fri Feb 10 2017 Remi Collet <remmi@remirepo.net> - 6.8-2 and 7.3-1
- add remi-php54 repository
- add mirrorlist for https mirrors (as comment)