From fad6a7bd2152c0a0f44cc50d1c566cdb3fd8bad9 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 6 Mar 2012 21:45:19 +0200 Subject: [PATCH] Spec clean up --- mingw-libtiff.spec | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/mingw-libtiff.spec b/mingw-libtiff.spec index 478caaa..7e6ee3e 100644 --- a/mingw-libtiff.spec +++ b/mingw-libtiff.spec @@ -1,8 +1,5 @@ %global __strip %{_mingw32_strip} %global __objdump %{_mingw32_objdump} -%global _use_internal_dependency_generator 0 -%global __find_requires %{_mingw32_findrequires} -%global __find_provides %{_mingw32_findprovides} %define __debug_install_post %{_mingw32_debug_install_post} Summary: MinGW Windows port of the LibTIFF library @@ -17,9 +14,8 @@ Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: mingw32-zlib mingw32-libjpeg -BuildRequires: mingw32-filesystem >= 35 +BuildRequires: mingw32-filesystem BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-binutils @@ -83,7 +79,6 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # remove docs @@ -94,12 +89,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir} rm -f $RPM_BUILD_ROOT%{_mingw32_bindir}/*.exe -%clean -rm -rf $RPM_BUILD_ROOT - - %files -n mingw32-libtiff -%defattr(-,root,root,-) %doc COPYRIGHT README RELEASE-DATE VERSION TODO ChangeLog %{_mingw32_bindir}/libtiff-3.dll %{_mingw32_bindir}/libtiffxx-3.dll @@ -110,7 +100,6 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_libdir}/libtiffxx.la %files -n mingw32-libtiff-static -%defattr(-,root,root,-) %{_mingw32_libdir}/libtiff.a %{_mingw32_libdir}/libtiffxx.a @@ -118,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Tue Mar 06 2012 Kalev Lember - 3.9.5-5 - Renamed the source package to mingw-libtiff (#800437) +- Spec clean up * Mon Feb 27 2012 Erik van Pienbroek - 3.9.5-4 - Rebuild against the mingw-w64 toolchain