From e8194500fe8808a194e9ceeb3f8433e24464001a Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Wed, 29 Apr 2020 18:56:26 +0200 Subject: [PATCH] - package /usr/lib/rpm/macros.d dir --- rpm.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm.spec b/rpm.spec index d2d52cb..04249f9 100644 --- a/rpm.spec +++ b/rpm.spec @@ -834,6 +834,7 @@ CPPFLAGS="%{rpmcppflags} -I/usr/include/ossp-uuid -I/usr/include/%{reqdb_pkg}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/%{_lib},/etc/{sysconfig,tmpwatch},%{_sysconfdir}/rpm,/var/lib/banner,/var/cache/hrmib} +install -d $RPM_BUILD_ROOT%{_rpmlibdir}/macros.d %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ @@ -1108,6 +1109,7 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f %{_rpmlibdir}/rpmpopt* %{_rpmlibdir}/macros +%dir %{_rpmlibdir}/macros.d %attr(755,root,root) %{_rpmlibdir}/hrmib-cache -- 2.46.0