-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheid-archive-fedora.spec
78 lines (59 loc) · 2.59 KB
/
eid-archive-fedora.spec
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
Summary: GnuPG archive keys and configuration of the Belgian eID package archive
Name: eid-archive-fedora
Version: 2021
Release: 1
License: GPL
URL: https://eid.belgium.be/
Source0: https://eid.belgium.be/10a04d46.asc
Source1: https://eid.belgium.be/6773d225.asc
Source2: eid-archive-fedora.repo
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
This package contains the Belgian eID repository GPG key as well as
configuration for yum.
%prep
%setup -q -c -T
%{__install} -p -m0644 %{SOURCE0} .
%{__install} -p -m0644 %{SOURCE1} .
%build
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-BEID-CONTINUOUS
%{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-BEID-RELEASE
%{__install} -Dp -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/yum.repos.d/eid-archive.repo
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%config(noreplace) /etc/yum.repos.d/eid-archive.repo
/etc/pki/rpm-gpg/RPM-GPG-KEY-BEID-CONTINUOUS
/etc/pki/rpm-gpg/RPM-GPG-KEY-BEID-RELEASE
%changelog
* Mon Nov 29 2021 <[email protected]> - 2021-1
- Move files repository from http to https
- Update all URLs in the .spec file to https, not http
* Tue Jun 7 2016 <[email protected]> - 2016-2
- Merge mirrors into one repository section
* Thu Mar 24 2016 <[email protected]> - 2016-1
- Add the files2 mirror as a separate repository, to remove a SPOF
* Fri Oct 23 2015 <[email protected]> - 2015-3
- Add the candidate repository
* Wed Jun 10 2015 <[email protected]> - 2015-2
- Remove %post scriptlet, it doesn't work; you can't install a GPG key while
the RPM lock is held.
* Wed Jan 7 2015 <[email protected]> - 2015-1
- Rebuild to remove eid-archive-fedora.repo artifact from rpmbuild directory,
so that repositories work again (sigh).
* Wed Aug 20 2014 <[email protected]> - 2014-4
- Update link to main archive as well, now. We'll leave the old layout
functional for now, so that upgrades continue working.
* Thu Aug 1 2014 <[email protected]> - 2014-3
- Update link to continuous archive, so that multiarch can actually
work. Will need to do something similar for main archive, but that's
for later.
* Thu Jul 17 2014 <[email protected]> - 2014-2
- Install the GPG keys from the postinst script (with appropriate message).
- Output a message to notify the user that this is only the first step.
* Thu Jun 12 2014 <[email protected]> - 2014-1
- Create, with inspiration from the epel-release package