diff --git a/createrepo_c.spec b/createrepo_c.spec index 7487cf3b096d62f54b5e93a808dc22267c87c6e1..24a42b1566be65c703de45535f1fdfeeace6db1d 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -30,10 +30,12 @@ %bcond_without libmodulemd %endif +%bcond_without legacy_hashes + Summary: Creates a common metadata repository Name: createrepo_c Version: 1.0.1 -Release: 2 +Release: 3 License: GPLv2+ URL: https://github.com/rpm-software-management/createrepo_c Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz @@ -115,7 +117,7 @@ Python 3 bindings for the createrepo_c library. %build # Build createrepo_c with Pyhon 3 -%cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} %{!?with_libmodulemd:-DWITH_LIBMODULEMD=OFF} -DENABLE_DRPM=%{with_drpm:ON}%{!?with_drpm:OFF} +%cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} %{!?with_libmodulemd:-DWITH_LIBMODULEMD=OFF} -DENABLE_DRPM=%{with_drpm:ON}%{!?with_drpm:OFF} -DWITH_LEGACY_HASHES=%{?with_legacy_hashes:ON}%{!?with_legacy_hashes:OFF} make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" # Build C documentation make doc-c @@ -182,6 +184,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo %endif %changelog +* Wed Sep 03 2025 zhangshaoning - 1.0.1-3 +- Add legacy_hashes to support md5 sha sha1 + * Tue Aug 13 2024 wangjiang - 1.0.1-2 - Add sw64 architecture