Use %ldconfig_scriptlets, remove %defattr

This commit is contained in:
Yaakov Selkowitz 2018-07-04 17:50:32 -05:00
parent 0130ee95e1
commit 25b9f711ac

View File

@ -92,9 +92,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang %{name} --all-name --with-gnome
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f %{name}.lang
%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd rationales.txt
@ -109,7 +107,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_datadir}/applications/metacity.desktop
%files devel
%defattr(-,root,root,-)
%{_bindir}/metacity-theme-viewer
%{_bindir}/metacity-window-demo
%{_includedir}/*