From 921b0d1ca71bb405bd72b0ba95c5a4a21ee03d5c Mon Sep 17 00:00:00 2001 From: Pavla Kratochvilova Date: Mon, 14 Mar 2022 08:44:18 +0100 Subject: [PATCH] Update to 0.19.0 --- createrepo_c.spec | 21 +++++++++++++++++++-- sources | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index 702c1a5..0fd22ab 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -22,10 +22,16 @@ %bcond_without libmodulemd %endif +%if 0%{?rhel} && 0%{?rhel} <= 8 +%bcond_without legacy_hashes +%else +%bcond_with legacy_hashes +%endif + Summary: Creates a common metadata repository Name: createrepo_c -Version: 0.17.7 -Release: 2%{?dist} +Version: 0.19.0 +Release: 1%{?dist} License: GPLv2+ URL: https://github.com/rpm-software-management/createrepo_c Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz @@ -107,6 +113,7 @@ pushd build-py3 %cmake .. \ -DWITH_ZCHUNK=%{?with_zchunk:ON}%{!?with_zchunk:OFF} \ -DWITH_LIBMODULEMD=%{?with_libmodulemd:ON}%{!?with_libmodulemd:OFF} \ + -DWITH_LEGACY_HASHES=%{?with_legacy_hashes:ON}%{!?with_legacy_hashes:OFF} \ -DENABLE_DRPM=%{?with_drpm:ON}%{!?with_drpm:OFF} make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" # Build C documentation @@ -175,6 +182,16 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info %changelog +* Mon Mar 14 2022 Pavla Kratochvilova - 0.19.0-1 +- Fix memory leaks +- Fix a bug in cr_repomd_record_compress_and_fill() +- Zero init buffer to prevent use of garbage values if input is too short +- Use copy+delete fallback when moving of a dir fails +- Switch default of --keep-all-metadata to TRUE and add --discard-additional-metadata +- Set database version only for the database records, not everything +- If the new repodata generated during an --update run exactly matches the old repodata don't touch the files +- Use --error-exit-val option by default + * Wed Jan 19 2022 Fedora Release Engineering - 0.17.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 59beb46..e8fb7d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (createrepo_c-0.17.7.tar.gz) = 502708392c321586ff8eeb866fbe864658d473bfa5c76da865e9d6d214a29a0d0436ea405c91f9f55eef4d8d5de5f789e7a1ea2c4f2324c1bd7af88b68b208bf +SHA512 (createrepo_c-0.19.0.tar.gz) = a4255447044aa1283ad4ef55a5307ebf6044bc4398769b8162b8104d8ad1a8950060af9d020043f2ca49020e0ace235e24b9c268c0ac7bcf26965db820dcad1d