-
Notifications
You must be signed in to change notification settings - Fork 0
/
tigeros-repos.spec
42 lines (32 loc) · 1.06 KB
/
tigeros-repos.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
Name: tigeros-repos
Version: 1.0
Release: 2%{?dist}
Summary: TigerOS package repository
License: MIT
URL: https://github.com/RITlug/tigeros-repos
Source: %{name}-%{version}-%{release}.tar.gz
BuildArch: noarch
%global vers 28
%description
TigerOS package repository files for yum
and dnf along with gpg public keys.
%prep
%setup -q
%install
# Install the keys
install -d -m 755 %{buildroot}/etc/pki/rpm-gpg
install -m 644 RPM-GPG-KEY-TigerOS-%{vers}-primary %{buildroot}/etc/pki/rpm-gpg/
# and add symlink for compat generic location
ln -s RPM-GPG-KEY-TigerOS-%{vers}-primary RPM-GPG-KEY-%{version}-TigerOS
install -d -m 755 %{buildroot}/etc/yum.repos.d
install -m 644 tigeros.repo %{buildroot}/etc/yum.repos.d/
%files
%defattr(-,root,root,-)
/etc/yum.repos.d/tigeros.repo
/etc/pki/rpm-gpg/RPM-GPG-KEY-TigerOS-%{vers}-primary
%changelog
* Tue May 15 2018 Christian Martin <[email protected]> - 1.0-2
- Updated to F28
- fix GPG key name
* Wed Apr 04 2018 Tim Zabel <[email protected]> - 1.0-1
- Updated spec file