From 0bc17b5b9776c222a5097cb02744cbd70a0fd4ec Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Mon, 19 Dec 2005 02:14:40 +0000 Subject: [PATCH] - Patched 'make clean' target to get rid of object files shipped with 1.0.0 --- ldns.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/ldns.spec b/ldns.spec index c3a09d7..7405c8b 100644 --- a/ldns.spec +++ b/ldns.spec @@ -5,6 +5,7 @@ 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 @@ -25,21 +26,25 @@ The devel package contains the ldns library and the include files %prep %setup -q + +%patch0 -b .clean + rm config.sub config.guess libtoolize autoreconf -# only for 2.3.3, since upstream left .o files in release +# only for 1.0.0, since upstream left .o files in release make clean %configure %build -%{__make} %{?_smp_mflags} allautoconf -%{__make} %{?_smp_mflags} -%{__make} %{?_smp_mflags} drill -%{__make} %{?_smp_mflags} examples -%{__make} %{?_smp_mflags} doc +make %{?_smp_mflags} clean +make %{?_smp_mflags} allautoconf +make %{?_smp_mflags} +make %{?_smp_mflags} drill +make %{?_smp_mflags} examples +make %{?_smp_mflags} doc %install rm -rf %{buildroot} @@ -78,8 +83,11 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog +* 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 + * Sun Dec 13 2005 Paul Wouters 1.0.0-6 -- added a make clean for 1.0.0 since .o files were left behind upstream, +- added a make clean for 2.3.3 since .o files were left behind upstream, causing failure on ppc platform * Sun Dec 11 2005 Tom "spot" Callaway 1.0.0-5