- Cannot use make clean because there are no Makefiles. Use hardcoded rm.

This commit is contained in:
Paul Wouters 2005-12-19 02:37:27 +00:00
parent 0bc17b5b97
commit 69267d6d16

View File

@ -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 <paul@xelerance.com> 1.0.0-8
- Cannot use make clean because there are no Makefiles. Use hardcoded rm.
* Sun Dec 18 2005 Paul Wouters <paul@xelerance.com> 1.0.0-7
- Patched 'make clean' target to get rid of object files shipped with 1.0.0