diff --git a/libdmtx.spec b/libdmtx.spec index 781a797..63d9fc7 100644 --- a/libdmtx.spec +++ b/libdmtx.spec @@ -12,7 +12,6 @@ URL: http://www.libdmtx.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch0: %{name}-0.7.2-php54.patch Patch1: %{name}-0.7.2-ruby19.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ImageMagick-devel # required for tests @@ -135,7 +134,6 @@ popd %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' @@ -167,22 +165,16 @@ done popd -%clean -rm -rf $RPM_BUILD_ROOT - - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS COPYING.LESSER ChangeLog KNOWNBUG NEWS README README.linux TODO %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root,-) %doc %{_includedir}/* %{_libdir}/%{name}.so @@ -190,22 +182,18 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/%{name}.3* %files utils -%defattr(-,root,root,-) %{_bindir}/dmtx* %{_mandir}/man1/dmtx*.1* %files -n php-libdmtx -%defattr(-,root,root,-) %doc COPYING wrapper/php/README %{_libdir}/php/modules/*.so %files -n python-libdmtx -%defattr(-,root,root,-) %doc wrapper/python/README %{python_sitearch}/* %files -n ruby-libdmtx -%defattr(-,root,root,-) %doc wrapper/ruby/README %{ruby_vendorarchdir}/*.so