From 1f5be3855226d83e9918bbeff15429366d3dfc27 Mon Sep 17 00:00:00 2001 From: Jaroslav Mracek Date: Wed, 16 May 2018 14:37:02 +0200 Subject: [PATCH] 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. --- createrepo_c.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index de45627..dd94041 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -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 - 0.10.0-20 +- Obsolete and provide createrepo + * Fri Mar 16 2018 Miro HronĨok - 0.10.0-19 - Conditionalize the Python 2 subpackage - Don't build the Python 2 subpackage on EL > 7