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
|
Name: dnf
|
||||||
Version: 4.2.5
|
Version: 4.2.6
|
||||||
Release: 3mamba
|
Release: 2mamba
|
||||||
Summary: Package manager based on libdnf and libsolv
|
Summary: Package manager based on libdnf and libsolv
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -25,15 +25,49 @@ Requires: librepo
|
|||||||
Requires: libcomps
|
Requires: libcomps
|
||||||
Requires: libsolv
|
Requires: libsolv
|
||||||
Requires: libdnf >= 0.31.0
|
Requires: libdnf >= 0.31.0
|
||||||
|
Requires: python-rpm
|
||||||
Requires: python-gpg
|
Requires: python-gpg
|
||||||
Requires: python-backports-lzma
|
Requires: python-backports-lzma
|
||||||
Requires: python-iniparse
|
Requires: python-iniparse
|
||||||
Requires: python-enum34
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Package manager based on libdnf and libsolv. Replaces YUM.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
@ -43,9 +77,7 @@ Package manager based on libdnf and libsolv. Replaces YUM.
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
#%patch5 -p1
|
#%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%ifarch arm
|
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
@ -68,10 +100,13 @@ ln -s dnf-automatic-2 %{buildroot}%{_bindir}/dnf-automatic
|
|||||||
install -d %{buildroot}/lib
|
install -d %{buildroot}/lib
|
||||||
mv %{buildroot}%{_prefix}/lib/systemd %{buildroot}/lib/
|
mv %{buildroot}%{_prefix}/lib/systemd %{buildroot}/lib/
|
||||||
|
|
||||||
mv %{buildroot}%{_mandir}/man8/yum.8 %{buildroot}%{_mandir}/man8/yum-dnf.8
|
# YUM compat layer
|
||||||
mv %{buildroot}%{_mandir}/man1/yum-aliases.1 %{buildroot}%{_mandir}/man1/yum-aliases-dnf.1
|
ln -sr %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/yum
|
||||||
mv %{buildroot}%{_mandir}/man5/yum.conf.5 %{buildroot}%{_mandir}/man5/yum.conf-dnf.5
|
mkdir -p %{buildroot}%{_sysconfdir}/yum
|
||||||
mv %{buildroot}%{_mandir}/man8/yum-shell.8 %{buildroot}%{_mandir}/man8/yum-shell-dnf.8
|
#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
|
%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
|
%config %{_sysconfdir}/dnf/dnf.conf
|
||||||
%dir %{_sysconfdir}/dnf/protected.d
|
%dir %{_sysconfdir}/dnf/protected.d
|
||||||
%config %{_sysconfdir}/dnf/protected.d/dnf.conf
|
%config %{_sysconfdir}/dnf/protected.d/dnf.conf
|
||||||
%{_sysconfdir}/dnf/protected.d/yum.conf
|
|
||||||
%{_sysconfdir}/libreport/events.d/collect_dnf.conf
|
%{_sysconfdir}/libreport/events.d/collect_dnf.conf
|
||||||
%{_sysconfdir}/logrotate.d/dnf
|
%{_sysconfdir}/logrotate.d/dnf
|
||||||
%{_bindir}/dnf
|
%{_bindir}/dnf
|
||||||
@ -120,17 +154,33 @@ mv %{buildroot}%{_mandir}/man8/yum-shell.8 %{buildroot}%{_mandir}/man8/yum-shell
|
|||||||
%{_tmpfilesdir}/dnf.conf
|
%{_tmpfilesdir}/dnf.conf
|
||||||
%{_datadir}/bash-completion/completions/dnf
|
%{_datadir}/bash-completion/completions/dnf
|
||||||
%{_mandir}/man5/dnf.conf.5*
|
%{_mandir}/man5/dnf.conf.5*
|
||||||
%{_mandir}/man1/yum-aliases-dnf.1*
|
|
||||||
%{_mandir}/man5/yum.conf-dnf.5*
|
|
||||||
#%{_mandir}/man7/dnf.modularity.7*
|
#%{_mandir}/man7/dnf.modularity.7*
|
||||||
%{_mandir}/man8/dnf.8*
|
%{_mandir}/man8/dnf.8*
|
||||||
%{_mandir}/man8/dnf.automatic.8*
|
%{_mandir}/man8/dnf-automatic.8*
|
||||||
%{_mandir}/man8/yum-dnf.8*
|
|
||||||
%{_mandir}/man8/yum2dnf.8*
|
%{_mandir}/man8/yum2dnf.8*
|
||||||
%{_mandir}/man8/yum-shell-dnf.8*
|
|
||||||
%doc AUTHORS COPYING
|
%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
|
%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
|
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.5-3mamba
|
||||||
- enable dnf-makecache.timer
|
- enable dnf-makecache.timer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user