]> git.pld-linux.org Git - packages/poldek.git/commitdiff
skip /usr/lib/.build-id when processing obsoletes
authorJan Palus <atler@pld-linux.org>
Tue, 16 Mar 2021 12:28:50 +0000 (13:28 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 16 Mar 2021 12:28:50 +0000 (13:28 +0100)
fixes major performance regression when changing (downgrade, obsolete)
package with build-id to one that doesn't

poldek.spec
skip-buildid-obsoletes.patch [new file with mode: 0644]

index 9c6e3a4ba5f53ed4ec1bda283d5a0d109d7a23aa..537f00524ec84bb416c63992803bbfe6412f569b 100644 (file)
@@ -66,6 +66,7 @@ Patch11:      rpm4-no-dir-deps.patch
 Patch12:       rpm4-rpmvercmp.patch
 Patch13:       trurlib-shared.patch
 Patch14:       rpm4-script-req-workaround.patch
+Patch15:       skip-buildid-obsoletes.patch
 URL:           http://poldek.pld-linux.org/
 BuildRequires: %{db_pkg}-devel >= %{ver_db}
 BuildRequires: autoconf >= 2.63
@@ -256,6 +257,7 @@ cd trurlib
 %patch13 -p1
 cd ..
 %patch14 -p1
+%patch15 -p1
 
 %{__rm} doc/poldek.info
 %{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/skip-buildid-obsoletes.patch b/skip-buildid-obsoletes.patch
new file mode 100644 (file)
index 0000000..1b2e7c1
--- /dev/null
@@ -0,0 +1,11 @@
+--- poldek-0.42.2/install3/obsoletes.c.orig    2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/install3/obsoletes.c 2021-03-16 13:14:05.667576984 +0100
+@@ -188,6 +188,8 @@
+         "/usr/share/doc/*",
+         "/usr/share/man/*.[0-9]",
+         "/usr/src/examples/*",
++        "/usr/lib/.build-id",
++        "/usr/lib/.build-id/*",
+         "*.desktop",
+         "*.mo",
+         "*.gz",
This page took 0.168862 seconds and 4 git commands to generate.