diff --git a/createrepo_c.spec b/createrepo_c.spec index 8478292..be435b5 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -1,6 +1,6 @@ Name: createrepo_c Version: 0.17.7 -Release: 1mamba +Release: 2mamba Summary: C implementation of createrepo, a tool to create repodata from a set of rpm files Group: System/Management Vendor: openmamba @@ -28,6 +28,8 @@ BuildRequires: libzck-devel BuildRequires: librpm-devel >= 4.16.1.2-1mamba BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: createrepo +Obsoletes: createrepo <= 0.10.4 %description C implementation of createrepo, a tool to create repodata from a set of rpm files. @@ -69,6 +71,10 @@ This package contains the Python bindings for %{name}. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +for f in create merge modify sqlite; do + ln -s ${f}repo_c %{buildroot}%{_bindir}/${f}repo +done + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -77,10 +83,10 @@ This package contains the Python bindings for %{name}. %files %defattr(-,root,root) -%{_bindir}/createrepo_c -%{_bindir}/mergerepo_c -%{_bindir}/modifyrepo_c -%{_bindir}/sqliterepo_c +%{_bindir}/createrepo* +%{_bindir}/mergerepo* +%{_bindir}/modifyrepo* +%{_bindir}/sqliterepo* %{_datadir}/bash-completion/completions/createrepo_c %{_datadir}/bash-completion/completions/mergerepo_c %{_datadir}/bash-completion/completions/modifyrepo_c @@ -110,6 +116,9 @@ This package contains the Python bindings for %{name}. %doc README.md %changelog +* Tue Nov 23 2021 Silvan Calarco 0.17.7-2mamba +- obsolete createrepo and provide legacy symlinks + * Sat Oct 23 2021 Automatic Build System 0.17.7-1mamba - automatic version update by autodist