From 241a4d383d8acb1c2a486a9c37534e6647178096 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 24 2021 15:21:46 +0000 Subject: Add spec-file for the distribution --- diff --git a/SPECS/rpm.spec b/SPECS/rpm.spec index 00927d7..09c2d5c 100644 --- a/SPECS/rpm.spec +++ b/SPECS/rpm.spec @@ -30,7 +30,7 @@ %global rpmver 4.14.3 #global snapver rc2 -%global rel 10 +%global rel 13 %global srcver %{version}%{?snapver:-%{snapver}} %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x} @@ -98,6 +98,11 @@ Patch145: 0001-Always-close-libelf-handle-1313.patch Patch146: 0001-When-doing-the-same-thing-more-than-once-use-a-loop.patch Patch147: 0001-Introduce-patch_nums-and-source_nums-Lua-variables-i.patch Patch148: 0001-Add-limits-to-autopatch-macro.patch +Patch149: rpm-4.14.3-bump-up-the-limit-of-signature-header-to-64MB.patch +Patch150: rpm-4.14.3-add-fapolicyd-rpm-plugin.patch +Patch151: 0001-Unblock-signals-in-forked-scriptlets.patch +Patch152: rpm-4.14.3-fix-ambiguous-diagnostics-on-file-triggers.patch +Patch153: rpm-4.14.3-ELF-files-strip-when-debuginfo-disabled.patch # Python 3 string API sanity Patch500: 0001-In-Python-3-return-all-our-string-data-as-surrogate-.patch @@ -396,6 +401,15 @@ Requires: rpm-libs%{_isa} = %{version}-%{release} Useful on legacy SysV init systems if you run rpm transactions with nice/ionice priorities. Should not be used on systemd systems. +%package plugin-fapolicyd +Summary: Rpm plugin for fapolicyd functionality +Requires: rpm-libs%{_isa} = %{version}-%{release} +Provides: fapolicyd-plugin +Obsoletes: fapolicyd-dnf-plugin + +%description plugin-fapolicyd +%{summary}. + %endif # with plugins %prep @@ -440,9 +454,11 @@ done; --with-cap \ --with-acl \ %{?with_ndb: --enable-ndb} \ + %{!?with_libarchive: --without-archive} \ %{?with_libimaevm: --with-imaevm} \ %{?with_zstd: --enable-zstd} \ %{?with_lmdb: --enable-lmdb} \ + --with-fapolicyd \ --enable-python \ --with-crypto=openssl \ PYTHON=python3 @@ -537,7 +553,9 @@ make check || cat tests/rpmtests.log %attr(0644, root, root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/rpm/* %{_bindir}/rpm +%if %{with libarchive} %{_bindir}/rpm2archive +%endif %{_bindir}/rpm2cpio %{_bindir}/rpmdb %{_bindir}/rpmkeys @@ -597,6 +615,10 @@ make check || cat tests/rpmtests.log %files plugin-prioreset %{_libdir}/rpm-plugins/prioreset.so + +%files plugin-fapolicyd +%{_libdir}/rpm-plugins/fapolicyd.so +%{_mandir}/man8/rpm-plugin-fapolicyd.8* %endif # with plugins %files build-libs @@ -659,6 +681,17 @@ make check || cat tests/rpmtests.log %doc doc/librpm/html/* %changelog +* Fri Feb 12 2021 Michal Domonkos - 4.14.3-13 +- Fix minor issues found by COVSCAN in fapolicyd plugin +- Actually honor libarchive bcond at configure time (#1902887) + +* Tue Feb 09 2021 Michal Domonkos - 4.14.3-12 +- Bump up the limit of signature header to 64MB (#1918777) +- Add fapolicyd plugin (#1923167) +- Unblock signals in forked scriptlets (#1913765) +- Fix ambiguous diagnostics output on file triggers (#1883338) +- Ensure ELF files get stripped when debuginfo is disabled (#1634084) + * Sun Jan 10 2021 Michal Domonkos - 4.14.3-10 - Rebuild for libimaevm soname bump, now for real (#1896046)