-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheid-archive-suse.spec
69 lines (52 loc) · 2.21 KB
/
eid-archive-suse.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
Summary: GnuPG archive keys and configuration of the Belgian eID package archive
Name: eid-archive-suse
Version: 2021
Release: 1
License: GPL
URL: https://eid.belgium.be/
Source0: https://files.eid.belgium.be/10a04d46.asc
Source1: https://files.eid.belgium.be/6773d225.asc
Source2: eid-archive-suse.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 zypper.
%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}/zypp/repos.d/eid-archive.repo
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%config(noreplace) /etc/zypp/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
- Drop files2 repository from .repo file
- 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 Nov 05 2014 <[email protected]> - 2014-3
- Use $releasever to select the release, rather than hardcoding it.
* 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