Provide binaries of createrepo
In fedora F29 we will remove yum. To enhance user experience and not breaking work-flows we provide a compatibility patch.
This commit is contained in:
parent
459fddd27d
commit
1f5be38552
@ -26,7 +26,7 @@
|
||||
Summary: Creates a common metadata repository
|
||||
Name: createrepo_c
|
||||
Version: 0.10.0
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/createrepo_c
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
@ -59,6 +59,8 @@ Requires: rpm >= 4.9.0
|
||||
%if %{with drpm}
|
||||
BuildRequires: drpm-devel >= 0.1.3
|
||||
%endif
|
||||
Obsoletes: createrepo < 0.11.0
|
||||
Provides: createrepo = %{version}-%{release}
|
||||
|
||||
%description
|
||||
C implementation of Createrepo.
|
||||
@ -179,6 +181,10 @@ pushd build-py3
|
||||
popd
|
||||
%endif
|
||||
|
||||
ln -sr %{buildroot}%{_bindir}/createrepo_c %{buildroot}%{_bindir}/createrepo
|
||||
ln -sr %{buildroot}%{_bindir}/mergerepo_c %{buildroot}%{_bindir}/mergerepo
|
||||
ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files
|
||||
@ -191,6 +197,9 @@ popd
|
||||
%{_bindir}/createrepo_c
|
||||
%{_bindir}/mergerepo_c
|
||||
%{_bindir}/modifyrepo_c
|
||||
%{_bindir}/createrepo
|
||||
%{_bindir}/mergerepo
|
||||
%{_bindir}/modifyrepo
|
||||
%{_bindir}/sqliterepo_c
|
||||
|
||||
%files libs
|
||||
@ -218,6 +227,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed May 16 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.10.0-20
|
||||
- Obsolete and provide createrepo
|
||||
|
||||
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-19
|
||||
- Conditionalize the Python 2 subpackage
|
||||
- Don't build the Python 2 subpackage on EL > 7
|
||||
|
Loading…
Reference in New Issue
Block a user