-
Notifications
You must be signed in to change notification settings - Fork 3
/
centos-release-scl-rh.spec
47 lines (36 loc) · 1.43 KB
/
centos-release-scl-rh.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
Name: centos-release-scl-rh
Version: 2
Release: 2%{?dist}
Summary: Software collections from the CentOS SCLo SIG (upstream scl only)
License: GPLv2
URL: http://wiki.centos.org/SpecialInterestGroup/SCLo
Source0: CentOS-SCLo.repo
Source1: RPM-GPG-KEY-CentOS-SIG-SCLo
Source2: GPL
BuildArch: noarch
Requires: system-release
%description
yum Configs and basic docs for Software Collections as delivered via the CentOS SCLo SIG.
%prep
%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-SCLo-scl-rh.repo
sed -i -e "s/SCLGROUP/rh/g; s/\$releasever/%{rhel}/g;" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-SCLo-scl-rh.repo
install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg
# use a docdir
mkdir -p -m 755 %{buildroot}/%{_docdir}/centos-release-scl-rh
install -m 644 %{SOURCE2} %{buildroot}/%{_docdir}/centos-release-scl-rh
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/yum.repos.d/*
%{_sysconfdir}/pki/rpm-gpg
%{_docdir}/centos-release-scl-rh/*
%changelog
* Fri May 20 2016 Dominic Cleal <[email protected]> - 2-2
- replace releasever with hardcoded versions
* Thu Mar 24 2016 Thomas Oulevey <[email protected]> - 2-1
- disabled gpg check for -testing repos
- enabled sources repositories
- enabled debuginfo repositories
* Fri Oct 02 2015 Thomas Oulevey <[email protected]>
- Initial version.