[packages/rpm/rpm.org] - package/own /usr/lib/.build-id directory
baggins
baggins at pld-linux.org
Sun Jan 24 09:47:11 CET 2021
commit 375682d29d2c3fe67b6171a45ce3ab6fdf0ba3d5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 24 09:43:54 2021 +0100
- package/own /usr/lib/.build-id directory
This should force poldek and rpm5 to upgrade the rpm package when trying
to install any package built with rpm 4.
rpm.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index b3bb33e..bd91c6f 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -638,7 +638,7 @@ cd python
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/bin,/%{_lib},/etc/sysconfig,%{_sysconfdir}/{rpm,pki/rpm-gpg}} \
- $RPM_BUILD_ROOT/var/lib/{banner,rpm}
+ $RPM_BUILD_ROOT{/var/lib/{banner,rpm},/usr/lib/.build-id}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/PLD-3.0-Th-GPG-key.asc
@@ -869,6 +869,8 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
# valgrind suppression file for rpm
%{_rpmlibdir}/rpm.supp
+%dir /usr/lib/.build-id
+
%files base
%defattr(644,root,root,755)
%dir %{_sysconfdir}/rpm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/375682d29d2c3fe67b6171a45ce3ab6fdf0ba3d5
More information about the pld-cvs-commit
mailing list