public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Move scriptlets to a more logical space in the spec
@ 2026-11-23 9:33 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 03c8fed85d6220752f3fbaf963ee3dfd2c327cc1
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2020-06-01T09:50:30+03:00
Stats : +12/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/03c8fed85d6220752f3fbaf963ee3dfd2c327cc1?branch=pmatilai-v6
Log:
Move scriptlets to a more logical space in the spec
Accidentally slopped into middle of %files sections by yours truly.
---
diff --git a/rpm.spec b/rpm.spec
index db456af..5acc210 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -402,6 +402,18 @@ rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
make check || (cat tests/rpmtests.log; exit 1)
%endif
+# Handle rpmdb rebuild service on erasure of old to avoid ordering issues
+# https://pagure.io/fesco/issue/2382
+%triggerun -- rpm < 4.15.90-0.git14971.10
+if [ -x /usr/bin/systemctl ]; then
+ systemctl --no-reload preset rpmdb-rebuild ||:
+fi
+
+%posttrans
+if [ -f /var/lib/rpm/Packages ]; then
+ touch /var/lib/rpm/.rebuilddb
+fi
+
%files -f rpm.lang
%license COPYING
%doc CREDITS doc/manual/[a-z]*
@@ -458,18 +470,6 @@ make check || (cat tests/rpmtests.log; exit 1)
%dir %{rpmhome}/fileattrs
-# Handle rpmdb rebuild service on erasure of old to avoid ordering issues
-# https://pagure.io/fesco/issue/2382
-%triggerun -- rpm < 4.15.90-0.git14971.10
-if [ -x /usr/bin/systemctl ]; then
- systemctl --no-reload preset rpmdb-rebuild ||:
-fi
-
-%posttrans
-if [ -f /var/lib/rpm/Packages ]; then
- touch /var/lib/rpm/.rebuilddb
-fi
-
%files libs
%{_libdir}/librpmio.so.*
%{_libdir}/librpm.so.*
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:33 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:33 [rpms/rpm] pmatilai-v6: Move scriptlets to a more logical space in the spec Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox