require python-rpm [release 4.2.6-2mamba;Sat Nov 02 2019]
This commit is contained in:
parent
d45ee51bef
commit
450f6856d1
78
dnf.spec
78
dnf.spec
@ -1,6 +1,6 @@
|
||||
Name: dnf
|
||||
Version: 4.2.5
|
||||
Release: 3mamba
|
||||
Version: 4.2.6
|
||||
Release: 2mamba
|
||||
Summary: Package manager based on libdnf and libsolv
|
||||
Group: System/Management
|
||||
Vendor: openmamba
|
||||
@ -25,15 +25,49 @@ Requires: librepo
|
||||
Requires: libcomps
|
||||
Requires: libsolv
|
||||
Requires: libdnf >= 0.31.0
|
||||
Requires: python-rpm
|
||||
Requires: python-gpg
|
||||
Requires: python-backports-lzma
|
||||
Requires: python-iniparse
|
||||
Requires: python-enum34
|
||||
%{?systemd_requires}
|
||||
Provides: dnf-command(alias)
|
||||
Provides: dnf-command(autoremove)
|
||||
Provides: dnf-command(check-update)
|
||||
Provides: dnf-command(clean)
|
||||
Provides: dnf-command(distro-sync)
|
||||
Provides: dnf-command(downgrade)
|
||||
Provides: dnf-command(group)
|
||||
Provides: dnf-command(history)
|
||||
Provides: dnf-command(info)
|
||||
Provides: dnf-command(install)
|
||||
Provides: dnf-command(list)
|
||||
Provides: dnf-command(makecache)
|
||||
Provides: dnf-command(mark)
|
||||
Provides: dnf-command(provides)
|
||||
Provides: dnf-command(reinstall)
|
||||
Provides: dnf-command(remove)
|
||||
Provides: dnf-command(repolist)
|
||||
Provides: dnf-command(repoquery)
|
||||
Provides: dnf-command(repository-packages)
|
||||
Provides: dnf-command(search)
|
||||
Provides: dnf-command(updateinfo)
|
||||
Provides: dnf-command(upgrade)
|
||||
Provides: dnf-command(upgrade-to)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Package manager based on libdnf and libsolv. Replaces YUM.
|
||||
|
||||
%package -n yum
|
||||
Group: System/Management
|
||||
Summary: YUM compatibility layer for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n yum
|
||||
Package manager based on libdnf and libsolv. Replaces YUM.
|
||||
This package provides a configuration compatibility layer with YUM.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
@ -43,9 +77,7 @@ Package manager based on libdnf and libsolv. Replaces YUM.
|
||||
%patch4 -p1
|
||||
#%patch5 -p1
|
||||
%patch6 -p1
|
||||
%ifarch arm
|
||||
%patch7 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
@ -68,10 +100,13 @@ ln -s dnf-automatic-2 %{buildroot}%{_bindir}/dnf-automatic
|
||||
install -d %{buildroot}/lib
|
||||
mv %{buildroot}%{_prefix}/lib/systemd %{buildroot}/lib/
|
||||
|
||||
mv %{buildroot}%{_mandir}/man8/yum.8 %{buildroot}%{_mandir}/man8/yum-dnf.8
|
||||
mv %{buildroot}%{_mandir}/man1/yum-aliases.1 %{buildroot}%{_mandir}/man1/yum-aliases-dnf.1
|
||||
mv %{buildroot}%{_mandir}/man5/yum.conf.5 %{buildroot}%{_mandir}/man5/yum.conf-dnf.5
|
||||
mv %{buildroot}%{_mandir}/man8/yum-shell.8 %{buildroot}%{_mandir}/man8/yum-shell-dnf.8
|
||||
# YUM compat layer
|
||||
ln -sr %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/yum
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/yum
|
||||
#ln -sr %{buildroot}%{_sysconfdir}/dnf/dnf.conf %{buildroot}%{_sysconfdir}/yum/yum.conf
|
||||
#ln -sr %{buildroot}%{_sysconfdir}/dnf/pluginconf.d %{buildroot}%{_sysconfdir}/yum/pluginconf.d
|
||||
#ln -sr %{buildroot}%{_sysconfdir}/dnf/protected.d %{buildroot}%{_sysconfdir}/yum/protected.d
|
||||
#ln -sr %{buildroot}%{_sysconfdir}/dnf/vars %{buildroot}%{_sysconfdir}/yum/vars
|
||||
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
|
||||
@ -98,7 +133,6 @@ mv %{buildroot}%{_mandir}/man8/yum-shell.8 %{buildroot}%{_mandir}/man8/yum-shell
|
||||
%config %{_sysconfdir}/dnf/dnf.conf
|
||||
%dir %{_sysconfdir}/dnf/protected.d
|
||||
%config %{_sysconfdir}/dnf/protected.d/dnf.conf
|
||||
%{_sysconfdir}/dnf/protected.d/yum.conf
|
||||
%{_sysconfdir}/libreport/events.d/collect_dnf.conf
|
||||
%{_sysconfdir}/logrotate.d/dnf
|
||||
%{_bindir}/dnf
|
||||
@ -120,17 +154,33 @@ mv %{buildroot}%{_mandir}/man8/yum-shell.8 %{buildroot}%{_mandir}/man8/yum-shell
|
||||
%{_tmpfilesdir}/dnf.conf
|
||||
%{_datadir}/bash-completion/completions/dnf
|
||||
%{_mandir}/man5/dnf.conf.5*
|
||||
%{_mandir}/man1/yum-aliases-dnf.1*
|
||||
%{_mandir}/man5/yum.conf-dnf.5*
|
||||
#%{_mandir}/man7/dnf.modularity.7*
|
||||
%{_mandir}/man8/dnf.8*
|
||||
%{_mandir}/man8/dnf.automatic.8*
|
||||
%{_mandir}/man8/yum-dnf.8*
|
||||
%{_mandir}/man8/dnf-automatic.8*
|
||||
%{_mandir}/man8/yum2dnf.8*
|
||||
%{_mandir}/man8/yum-shell-dnf.8*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n yum
|
||||
%defattr(-,root,root)
|
||||
#%dir %{_sysconfdir}/yum
|
||||
#%{_sysconfdir}/yum/pluginconf.d
|
||||
#%{_sysconfdir}/yum/protected.d
|
||||
#%{_sysconfdir}/yum/vars
|
||||
#%{_sysconfdir}/yum/yum.conf
|
||||
%exclude %{_sysconfdir}/dnf/protected.d/yum.conf
|
||||
%{_bindir}/yum
|
||||
%{_mandir}/man1/yum-aliases.1*
|
||||
%{_mandir}/man5/yum.conf.5*
|
||||
%{_mandir}/man8/yum-shell.8*
|
||||
%{_mandir}/man8/yum.8*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.6-2mamba
|
||||
- require python-rpm
|
||||
|
||||
* Fri Oct 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.6-1mamba
|
||||
- update to 4.2.6
|
||||
|
||||
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.5-3mamba
|
||||
- enable dnf-makecache.timer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user