commit 2a33daee822d8fcc3bf8bd35065074069f256f54
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Tue Mar 20 17:54:01 2018 +0100
Create sub-package for tainted repo
rpmfusion-free-release.spec | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/rpmfusion-free-release.spec b/rpmfusion-free-release.spec
index 435476a..fd95827 100644
--- a/rpmfusion-free-release.spec
+++ b/rpmfusion-free-release.spec
@@ -14,6 +14,7 @@ Source1: rpmfusion-%{repo}.repo
Source2: rpmfusion-%{repo}-updates.repo
Source3: rpmfusion-%{repo}-updates-testing.repo
Source4: rpmfusion-%{repo}-rawhide.repo
+Source5: rpmfusion-%{repo}-tainted.repo
Source26: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-26-primary
Source27: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-27-primary
Source28: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-28-primary
@@ -41,6 +42,13 @@ Requires: %{name} = %{version}-%{release}
This package provides the RPM Fusion rawhide %{repo} repo definitions.
%endif
+%package tainted
+Summary: RPM Fusion %{repo} Tainted repo definition
+Requires: %{name} = %{version}-%{release}
+
+%description tainted
+This package provides the RPM Fusion %{repo} Tainted repo definitions.
+
%prep
echo "Nothing to prep"
@@ -75,7 +83,12 @@ ln -s $(basename %{SOURCE28})
%{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY
# Yum .repo files
-%{__install} -p -m644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
+%{__install} -p -m644 \
+ %{SOURCE1} \
+ %{SOURCE2} \
+ %{SOURCE3} \
+ %{SOURCE4} \
+ %{SOURCE5} \
%{buildroot}%{_sysconfdir}/yum.repos.d
@@ -89,6 +102,9 @@ ln -s $(basename %{SOURCE28})
%{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY
%endif
%config(noreplace) %{_sysconfdir}/yum.repos.d/rpmfusion-%{repo}-rawhide.repo
+%files tainted
+%config(noreplace) %{_sysconfdir}/yum.repos.d/rpmfusion-%{repo}-tainted.repo
+
%changelog
* Fri Jul 07 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 26-1
- Update to Final