commit 39cdba998b40a92b0a0e36bb6908f1a5b8bd4d3b
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Tue Mar 20 22:26:04 2018 +0100
Create sub-package for tainted repo
rpmfusion-nonfree-release.spec | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/rpmfusion-nonfree-release.spec b/rpmfusion-nonfree-release.spec
index e531ce5..5874e13 100644
--- a/rpmfusion-nonfree-release.spec
+++ b/rpmfusion-nonfree-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