add unstable repos configuration to new subpackage openmamba-unstable-repos [release 2024.1-2mamba;Sat Mar 16 2024]

This commit is contained in:
Silvan Calarco 2024-03-16 17:34:28 +01:00
parent 7b4756db6d
commit bbf9cd8160

View File

@ -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 <silvan.calarco@mambasoft.it> 2024.1-2mamba
- add unstable repos configuration to new subpackage openmamba-unstable-repos
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2024.1-1mamba
- update to 2024.1