blob: 176497591ea22834aa455cc77fec066518ee923d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
# remirepo spec file for remi-release (Fedora)
#
# Copyright (c) 2006-2017 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%if %{fedora} >= 23
%global pkgman dnf
%else
%global pkgman yum
%endif
Name: remi-release
Version: %{fedora}
%if %{fedora} >= 26
Release: 2%{?dist}
%else
Release: 4%{?dist}
%endif
Summary: Configuration for remi repository
Summary(fr): Configuration pour le dépôt remi
Group: System Environment/Base
License: GPLv2+
URL: https://rpms.remirepo.net/
Source0: RPM-GPG-KEY-remi
Source1: remi-fc.repo
Source2: remi-test-fc.repo
Source4: remi-php70-fc.repo
Source5: remi-php70-test-fc.repo
Source6: remi-php71-fc.repo
Source7: remi-php71-test-fc.repo
Source8: remi-debug-fc.repo
Source9: RPM-GPG-KEY-remi2017
Source10: remi-php72-fc.repo
Source11: remi-php72-test-fc.repo
BuildArch: noarch
%if %{fedora} < 21
Requires: yum
%else
Requires: /etc/yum.repos.d
%endif
Requires: fedora-release >= %{fedora}
%description
This package contains %{pkgman} configuration for the "remi" RPM Repository,
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} >= 25
For PHP 7.2 you must enable the remi-php72 repository:
%{pkgman} config-manager --enable remi-php71
%endif
%if %{fedora} >= 22 && %{fedora} <= 25
For PHP 7.1 you must enable the remi-php71 repository:
%{pkgman} config-manager --enable remi-php71
%endif
%if %{fedora} >= 21 && %{fedora} <= 24
For PHP 7.0 you must enable the remi-php70 repository:
%{pkgman} config-manager --enable remi-php70
%endif
FAQ: https://blog.remirepo.net/pages/English-FAQ
Forum: https://forum.remirepo.net/
%description -l fr
Ce paquetage contient le fichier de configuration de %{pkgman} pour utiliser
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} >= 25
Pour PHP 7.2 vous devez activer le dépôt remi-php71
%{pkgman} config-manager --enable remi-php71
%endif
%if %{fedora} >= 22 && %{fedora} <= 25
Pour PHP 7.1 vous devez activer le dépôt remi-php71
%{pkgman} config-manager --enable remi-php71
%endif
%if %{fedora} >= 21 && %{fedora} <= 24
Pour PHP 7.0 vous devez activer le dépôt remi-php70
%{pkgman} config-manager --enable remi-php70
%endif
FAQ: https://blog.remirepo.net/pages/FAQ-en-Francais
Forum: https://forum.remirepo.net/
%prep
%setup -c -T
%build
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 %{SOURCE9} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi2017
# 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} >= 21 && %{fedora} <= 24
install -Dp -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php70.repo
install -Dp -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php70-test.repo
%endif
%if %{fedora} >= 22 && %{fedora} <= 25
install -Dp -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php71.repo
install -Dp -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php71-test.repo
%endif
%if %{fedora} >= 25
install -Dp -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php72.repo
install -Dp -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-php72-test.repo
%endif
%if %{fedora} >= 23
install -Dp -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-debuginfo.repo
%endif
%if %{fedora} >= 26
: Use new GPG Key
sed -e 's/RPM-GPG-KEY-remi/RPM-GPG-KEY-remi2017/' \
-i %{buildroot}%{_sysconfdir}/yum.repos.d/*repo
%endif
%files
%config(noreplace) %{_sysconfdir}/yum.repos.d/remi*.repo
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi*
%changelog
* Thu Jun 29 2017 Remi Collet <remi@remirepo.net> - 26-2, 25-4
- add remi-php72 repository configuration
* Mon Mar 6 2017 Remi Collet <remi@remirepo.net> - 26-1, 25-3 and 24-3
- Add the GPG Key used for Fedora 26
* Sun Sep 11 2016 Remi Collet <remi@remirepo.net> - 25-1
- Fedora release 25
* Thu Jun 30 2016 Remi Collet <remi@remirepo.net> - 22-4, 23-4 and 24-2
- add remi-php71 repository configuration
- add debuginfo repository configuration
* Fri Mar 4 2016 Remi Collet <remi@remirepo.net> - 24-1.fc24
- Fedora release 24
* Fri Jan 15 2016 Remi Collet <remi@remirepo.net> - %{fedora}-3.fc%{fedora}.remi
- add remi-php70-test repository
* Fri Aug 28 2015 Remi Collet <RPMS@FamilleCollet.com> - 23-1.fc23.remi
- Fedora release 23
* Thu Jul 23 2015 Remi Collet <remi@remirepo.net> - ##-2.fc##.remi
- add php70 repository
- update repository configuration for new "remirepo.net" domain
* Fri Feb 27 2015 Remi Collet <RPMS@FamilleCollet.com> - 22-1.fc22.remi
- Fedora release 22
* Sun Aug 31 2014 Remi Collet <RPMS@FamilleCollet.com> - 21-1.fc21.remi
- Fedora release 21
- drop dependency on yum, as dnf exists
* Sun Aug 31 2014 Remi Collet <RPMS@FamilleCollet.com> - 20-3.fc20.remi
- split configuration, one file per repository
- add failovermethod=roundrobin for yum
- add fastestmirror=1 for dnf > 0.4
- drop apt configuration
* Fri Feb 28 2014 Remi Collet <RPMS@FamilleCollet.com> - 19-2 and 20-2
- add php56 repository
* Tue Sep 10 2013 Remi Collet <RPMS@FamilleCollet.com> - 20-1.fc20.remi
- Fedora release 20 (Heisenbug)
* Wed Apr 24 2013 Remi Collet <RPMS@FamilleCollet.com> - 19-1.fc19.remi
- Fedora release 19 (Schrödinger's Cat)
* Sun Oct 21 2012 Remi Collet <RPMS@FamilleCollet.com> - 18-1.fc18.remi
- Fedora release 18 (Spherical Cow)
* Tue Jun 26 2012 Remi Collet <RPMS@FamilleCollet.com> - 17-7.fc17.remi
- remove post scriptlet (smart stuff)
* Sat May 05 2012 Remi Collet <RPMS@FamilleCollet.com> - 17-6.fc17.remi
- Fedora release 17 (Beefy Miracle)
- drop Smart config
* Sun Oct 02 2011 Remi Collet <RPMS@FamilleCollet.com> - 16-6.fc16.remi
- F16 build - Verne
* Sat Apr 16 2011 Remi Collet <RPMS@FamilleCollet.com> - 15-6.fc15.remi
- F15 build - Lovelock
* Wed Sep 22 2010 Remi Collet <RPMS@FamilleCollet.com> - 14-6.fc14.remi
- F14 build - Laughlin
* Sat May 01 2010 Remi Collet <RPMS@FamilleCollet.com> - ##-6.fc##.remi
- use a mirrorlist URL
* Sat Apr 17 2010 Remi Collet <RPMS@FamilleCollet.com> - 13-5.fc13.remi
- F13 build - Goddard
* Fri Nov 06 2009 Remi Collet <RPMS@FamilleCollet.com> - 12-5.fc12.remi
- F12 build
* Thu Apr 30 2009 Remi Collet <RPMS@FamilleCollet.com> - ##-5.fc##.remi
- F11 build
- new repo layout
* Wed Nov 12 2008 Remi Collet <RPMS@FamilleCollet.com> - 10-4.fc10.remi
- F10 build
- remove old site (remi.collet.free.fr)
* Wed May 7 2008 Remi Collet <RPMS@FamilleCollet.com> - 9-4.fc9.remi
- F9 build
* Sat Feb 2 2008 Remi Collet <RPMS@FamilleCollet.com> - {3-8}-4.fc{3-8}.remi
- new mirror http://rpms.famillecollet.com/
* Fri Nov 02 2007 Remi Collet <RPMS@FamilleCollet.com> - 8-3.fc8.remi
- F8 build
* Thu Aug 23 2007 Remi Collet <RPMS@FamilleCollet.com> - {3-5}-3.fc{3-5}.remi
- update smart.channel during %%post only on fc > 5
* Sun Jun 24 2007 Remi Collet <RPMS@FamilleCollet.com> - {3-7}-2.el4.remi
- New key (email change, same ID)
* Sun May 20 2007 Remi Collet <RPMS@FamilleCollet.com> - 7-1.fc7.remi
- F-7 rebuild
* Sat Mar 24 2007 Remi Collet <RPMS@FamilleCollet.com> - 6-1.fc6.remi
- add remi.channel for smart
- add remi.list for apt
* Mon Nov 20 2006 Remi Collet <RPMS@FamilleCollet.com> - 1-2.fc6.remi
- change mirror list (iut-info.ens.univ-reims.fr to iut-info.univ-reims.fr)
* Tue Oct 24 2006 Remi Collet <RPMS@FamilleCollet.com> - 1-1.fc6.remi
- open FC6 repo
* Sun Mar 26 2006 Remi Collet <RPMS@FamilleCollet.com> - 1-1.fc5.remi
- open FC5 repo
* Tue Jan 03 2006 Remi Collet <remi.collet@univ-reims.fr> - 1-1.fc{3,4}.remi
- initial package
|