diff --git a/ldns.spec b/ldns.spec index 7405c8b..74e60dc 100644 --- a/ldns.spec +++ b/ldns.spec @@ -5,7 +5,6 @@ Release: 7%{?dist} License: BSD Url: http://open.nlnetlabs.nl/%{name}/ Source: http://open.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz -Patch0: %{name}-clean.patch Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen @@ -26,14 +25,13 @@ The devel package contains the ldns library and the include files %prep %setup -q - -%patch0 -b .clean +# only for 1.0.0, since upstream left .o files in release and 'make clean' +# won't work without the Makefile. +rm drill/*.o rm config.sub config.guess libtoolize autoreconf -# only for 1.0.0, since upstream left .o files in release -make clean %configure @@ -83,6 +81,9 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog +* Sun Dec 18 2005 Paul Wouters 1.0.0-8 +- Cannot use make clean because there are no Makefiles. Use hardcoded rm. + * Sun Dec 18 2005 Paul Wouters 1.0.0-7 - Patched 'make clean' target to get rid of object files shipped with 1.0.0