commit bfdc932b1897814c26b0ad0cf4bc4994854ea82d
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 95f209d..b105eb0 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
Source27: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-27-primary
Source28: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-28-primary
Source29: RPM-GPG-KEY-rpmfusion-%{repo}-fedora-29-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 %{SOURCE29})
%{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 %{SOURCE29})
%{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
* Mon Nov 13 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 27-1
- Update to f27 Final
Show replies by date