Drop %defattr()

epel9
Orion Poplawski 11 years ago
parent 7ede069182
commit 648cc77958

@ -211,7 +211,6 @@ find %{buildroot} -name "perllocal.pod" |xargs rm -fv
chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so
# perlmagick: build files list
echo "%defattr(-,root,root)" > perl-pkg-files
find %{buildroot}/%{_libdir}/perl* -type f -print \
| sed "s@^%{buildroot}@@g" > perl-pkg-files
find %{buildroot}%{perl_vendorarch} -type d -print \
@ -271,7 +270,6 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%dir %{_pkgdocdir}
%{_pkgdocdir}/Copyright.txt
%{_libdir}/libGraphicsMagick%{?libQ}.so.3*
@ -282,7 +280,6 @@ rm -rf %{buildroot}
%{_mandir}/man[145]/[a-z]*
%files devel
%defattr(-,root,root,-)
%{_bindir}/GraphicsMagick-config
%{_bindir}/GraphicsMagickWand-config
%{_libdir}/libGraphicsMagick.so
@ -296,18 +293,15 @@ rm -rf %{buildroot}
%{_mandir}/man1/GraphicsMagickWand-config.*
%files doc
%defattr(-,root,root,-)
%{_pkgdocdir}
%post c++ -p /sbin/ldconfig
%postun c++ -p /sbin/ldconfig
%files c++
%defattr(-,root,root,-)
%{_libdir}/libGraphicsMagick++%{?libQ}.so.3*
%files c++-devel
%defattr(-,root,root,-)
%{_bindir}/GraphicsMagick++-config
%{_includedir}/GraphicsMagick/Magick++/
%{_includedir}/GraphicsMagick/Magick++.h
@ -316,7 +310,6 @@ rm -rf %{buildroot}
%{_mandir}/man1/GraphicsMagick++-config.*
%files perl -f perl-pkg-files
%defattr(-,root,root,-)
%{_mandir}/man3/*
%doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt

Loading…
Cancel
Save