- Patched 'make clean' target to get rid of object files shipped with 1.0.0

This commit is contained in:
Paul Wouters 2005-12-19 02:14:40 +00:00
parent 7a3fc89fb5
commit 0bc17b5b97

View File

@ -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 <paul@xelerance.com> 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 <paul@xelerance.com> 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 <tcallawa@redhat.com> 1.0.0-5