commit 216e9960b32cf2c50f7da859399e3bf6e4492d3d
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Fri Jul 23 14:58:03 2021 +0200
Create sub-package for next repo
rpmfusion-nonfree-next.repo | 33 +++++++++++++++++++++++++++++++++
rpmfusion-nonfree-release.spec | 18 +++++++++++++++++-
2 files changed, 50 insertions(+), 1 deletion(-)
---
diff --git a/rpmfusion-nonfree-next.repo b/rpmfusion-nonfree-next.repo
new file mode 100644
index 0000000..84bf83f
--- /dev/null
+++ b/rpmfusion-nonfree-next.repo
@@ -0,0 +1,33 @@
+[rpmfusion-nonfree-next]
+name=RPM Fusion for EL 8 - Nonfree next
+#baseurl=http://download1.rpmfusion.org/nonfree/el/next/8/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-next-8&arch=$basearch
+enabled=1
+metadata_expire=6h
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-8
+
+[rpmfusion-nonfree-next-debuginfo]
+name=RPM Fusion for EL 8 - Nonfree next - Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/el/next/8/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-next-debug-8&arch=$basearch
+enabled=0
+metadata_expire=6h
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-8
+
+[rpmfusion-nonfree-next-source]
+name=RPM Fusion for EL 8 - Nonfree next - Source
+#baseurl=http://download1.rpmfusion.org/nonfree/el/next/8/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-next-source-8&arch=$basearch
+enabled=0
+metadata_expire=6h
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-8
+
diff --git a/rpmfusion-nonfree-release.spec b/rpmfusion-nonfree-release.spec
index 2263b4b..7ecc4cf 100644
--- a/rpmfusion-nonfree-release.spec
+++ b/rpmfusion-nonfree-release.spec
@@ -3,7 +3,7 @@
Name: rpmfusion-%{_repo}-release
Version: 8
-Release: 0.1
+Release: 0.2
Summary: RPM Fusion (%{_repo}) Repository Configuration
License: BSD
@@ -12,6 +12,7 @@ Source0: RPM-GPG-KEY-rpmfusion-%{_repo}-el-8
Source2: rpmfusion-%{_repo}-updates.repo
Source3: rpmfusion-%{_repo}-updates-testing.repo
Source5: rpmfusion-%{_repo}-tainted.repo
+Source6: rpmfusion-%{_repo}-next.repo
BuildArch: noarch
Requires: redhat-release >= %{version}
@@ -51,6 +52,14 @@ Provides: livna-release = 1:1-2
%description tainted
This package provides the RPM Fusion %{_repo} Tainted repo definitions.
+%package next
+Summary: RPM Fusion %{_repo} Next repo definition
+Requires: %{name} = %{version}-%{release}
+Recommends: (%{name}-next if centos-stream-release)
+
+%description next
+This package provides the RPM Fusion %{_repo} Next repo definitions.
+
%prep
echo "Nothing to prep"
@@ -72,6 +81,7 @@ install -d -m755 \
%{SOURCE2} \
%{SOURCE3} \
%{SOURCE5} \
+ %{SOURCE6} \
%{buildroot}%{_sysconfdir}/yum.repos.d
%files
@@ -81,7 +91,13 @@ install -d -m755 \
%files tainted
%config(noreplace) %{_sysconfdir}/yum.repos.d/rpmfusion-%{_repo}-tainted.repo
+%files next
+%config(noreplace) %{_sysconfdir}/yum.repos.d/rpmfusion-%{_repo}-next.repo
+
%changelog
+* Fri Jul 23 2021 Xavier Bachelot <xavier(a)bachelot.org> - 8-0.2
+- Create sub-package for next repo
+
* Wed Jan 09 2019 Xavier Bachelot <xavier(a)bachelot.org> - 8-0.1
- Release for EL-8.