obsolete createrepo and provide legacy symlinks [release 0.17.7-2mamba;Tue Nov 23 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:33:53 +01:00
parent 275737ee1c
commit 4a66333be3

View File

@ -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 <silvan.calarco@mambasoft.it> 0.17.7-2mamba
- obsolete createrepo and provide legacy symlinks
* Sat Oct 23 2021 Automatic Build System <autodist@mambasoft.it> 0.17.7-1mamba
- automatic version update by autodist