-install -d $RPM_BUILD_ROOT/etc/{sysconfig,xdg} \
- $RPM_BUILD_ROOT%{_prefix}/share/{sounds,pixmaps,icons,wm-properties,xsessions,wallpapers,themes/Default,pkgconfig} \
- $RPM_BUILD_ROOT%{_prefix}/lib/debug \
- $RPM_BUILD_ROOT%{_usrsrc}/debug \
- $RPM_BUILD_ROOT{%{_aclocaldir},%{_pkgconfigdir}} \
- $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
+install -d \
+ $RPM_BUILD_ROOT/{initrd,selinux,sys} \
+ $RPM_BUILD_ROOT/etc/{pki,X11/xinit/xinitrc.d,certs,default,logrotate.d,security,sysconfig/wmstyle,tmpwatch,xdg/autostart} \
+ $RPM_BUILD_ROOT/home/{users,services} \
+ $RPM_BUILD_ROOT/lib/{firmware,security} \
+ $RPM_BUILD_ROOT/usr/include/security \
+ $RPM_BUILD_ROOT/usr/lib/{cgi-bin,browser-plugins,pkgconfig,initrd,ConsoleKit/run-session.d} \
+ $RPM_BUILD_ROOT/usr/share/{gnome/{help,wm-properties},man/man{n,l},man/pl/mann,pkgconfig,sounds,themes/Default,wallpapers,xsessions} \
+ $RPM_BUILD_ROOT/usr/src/examples \
+ $RPM_BUILD_ROOT/var/lock/subsys \
+ $RPM_BUILD_ROOT{%{_aclocaldir},%{_desktopdir}/docklets,%{_iconsdir},%{_pixmapsdir}} \
+ $RPM_BUILD_ROOT%{_fontsdir}/{{100,75}dpi,OTF,Speedo,Type1/{afm,pfm},TTF,cyrillic,local,misc} \
+ $RPM_BUILD_ROOT{%{_idldir},%{_privsepdir}}
+
+%if "%{_lib}" == "lib64"
+install -d \
+ $RPM_BUILD_ROOT/lib64/security \
+ $RPM_BUILD_ROOT/usr/lib64/pkgconfig \
+ $RPM_BUILD_ROOT/usr/lib64/browser-plugins \
+ $RPM_BUILD_ROOT/usr/lib64/initrd
+%endif