public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Drop fsverity plugin from RHEL builds
@ 2026-11-23  9:35 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : dfc1484732382d682ea61637e907646fa319b8df
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2023-07-24T23:32:28-04:00
            Stats  : +12/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/dfc1484732382d682ea61637e907646fa319b8df?branch=pmatilai-v6

            Log:
            Drop fsverity plugin from RHEL builds

The fsverity plugin subpackage is not planned to be shipped in RHEL, so
avoid the build dependency by not building it at all.

---
diff --git a/rpm.spec b/rpm.spec
index d13c66f..c8a9d75 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -16,7 +16,11 @@
 # build with libimaevm.so
 %bcond_without libimaevm
 # build with fsverity support?
+%if 0%{?rhel}
+%bcond_with fsverity
+%else
 %bcond_without fsverity
+%endif
 # build with zstd support?
 %bcond_without zstd
 # build with ndb backend?
@@ -32,7 +36,7 @@
 
 %global rpmver 4.18.91
 #global snapver rc1
-%global baserelease 8
+%global baserelease 9
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -329,12 +333,14 @@ Requires: rpm-libs%{_isa} = %{version}-%{release}
 %description plugin-audit
 %{summary}.
 
+%if %{with fsverity}
 %package plugin-fsverity
 Summary: Rpm plugin for fsverity file signatures
 Requires: rpm-libs%{_isa} = %{version}-%{release}
 
 %description plugin-fsverity
 %{summary}.
+%endif
 
 %package plugin-fapolicyd
 Summary: Rpm plugin for fapolicyd support
@@ -543,8 +549,10 @@ fi
 %{_mandir}/man8/rpm-plugin-ima.8*
 %endif
 
+%if %{with fsverity}
 %files plugin-fsverity
 %{_libdir}/rpm-plugins/fsverity.so
+%endif
 
 %files plugin-fapolicyd
 %{_libdir}/rpm-plugins/fapolicyd.so
@@ -624,6 +632,9 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
+- Drop fsverity plugin from RHEL builds
+
 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: Drop fsverity plugin from RHEL builds Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox