From bbf9cd81602d25d39e529e24e9a0868a683fc3c6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 16 Mar 2024 17:34:28 +0100 Subject: [PATCH] add unstable repos configuration to new subpackage openmamba-unstable-repos [release 2024.1-2mamba;Sat Mar 16 2024] --- openmamba-release.spec | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/openmamba-release.spec b/openmamba-release.spec index da0e2ba..dd5b978 100644 --- a/openmamba-release.spec +++ b/openmamba-release.spec @@ -2,10 +2,6 @@ %define distroid openmamba %define fullversion %{version} -%define stable_reps milestone4 milestone4-games milestone4-updates -%define devel_reps devel devel-games devel-kde4 devel-kernel devel-xorg devel-makedist devel-embedded devel-autodist devel-future devel-java -%define devel_default_reps devel devel-games - %if "%?_distrib_milestone" != "devel" %define branch stable %define milestone %_distrib_milestone @@ -18,7 +14,7 @@ Name: openmamba-release Version: 2024.1 -Release: 1mamba +Release: 2mamba Summary: Release files for %{distroid} %{fullversion} %{?codename:(%codename)} Group: System/Configuration Vendor: openmamba @@ -36,11 +32,18 @@ Obsoletes: openmamba-devel < 2021 ## AUTOBUILDREQ-END Requires(post):gnupg2 Requires(post):chkconfig -#Requires(post):rpm %description Release files for %{distroid} %{fullversion} %{?codename:(%codename)}. +%package -n openmamba-unstable-repos +Summary: DNF/YUM configuration files for openmamba unstable repositories +Group: System/Configuration +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n openmamba-unstable-repos +DNF/YUM configuration files for openmamba unstable repositories. + %prep %setup -q @@ -134,7 +137,6 @@ done %dir %{_sysconfdir}/pki/rpm-gpg %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft %{_sysconfdir}/profile.d/gpg-key-openmamba.sh -#%{_sysconfdir}/xprofile.d/gpg-key-openmamba.sh %{_sysconfdir}/%{distroid}-release %{_sysconfdir}/os-release %{_usr}/lib/os-release @@ -145,12 +147,20 @@ done %{_sysconfdir}/issue.net %ifarch x86_64 %config(noreplace) %{_sysconfdir}/yum/repos.d/openmamba-rolling-i586.repo -%config(noreplace) %{_sysconfdir}/yum/repos.d/openmamba-rolling-unstable-i586.repo %endif %config(noreplace) %{_sysconfdir}/yum/repos.d/openmamba-rolling.repo + +%files -n openmamba-unstable-repos +%defattr(-,root,root) +%ifarch x86_64 +%config(noreplace) %{_sysconfdir}/yum/repos.d/openmamba-rolling-unstable-i586.repo +%endif %config(noreplace) %{_sysconfdir}/yum/repos.d/openmamba-rolling-unstable.repo %changelog +* Sat Mar 16 2024 Silvan Calarco 2024.1-2mamba +- add unstable repos configuration to new subpackage openmamba-unstable-repos + * Thu Jan 11 2024 Silvan Calarco 2024.1-1mamba - update to 2024.1