rpms/ldns/devel ldns.spec,1.14,1.15

Paul Wouters (pwouters) fedora-extras-commits at redhat.com
Wed Aug 8 16:12:40 UTC 2007


Author: pwouters

Update of /cvs/extras/rpms/ldns/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5771

Modified Files:
	ldns.spec 
Log Message:
- Minor tweaks for proper doc/man page installation.



Index: ldns.spec
===================================================================
RCS file: /cvs/extras/rpms/ldns/devel/ldns.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ldns.spec	8 Aug 2007 14:02:48 -0000	1.14
+++ ldns.spec	8 Aug 2007 16:12:08 -0000	1.15
@@ -1,14 +1,14 @@
 Summary: Lowlevel DNS(SEC) library with API
 Name: ldns
 Version: 1.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD
 Url: http://open.nlnetlabs.nl/%{name}/
 Source: http://open.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz
 Patch0: ldns-1.2.x-key2ds-SHA256.patch
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen
+BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen, perl
 
 %description
 ldns is a library with the aim to simplify DNS programing in C. All
@@ -27,12 +27,11 @@
 %prep
 %setup -q 
 %patch0 
-# left by upstream
-rm config.guess config.sub ltmain.sh
-chmod a-x doc/doxyparse.pl
-#temp enable
-libtoolize
-autoreconf
+
+# To built svn snapshots
+#rm config.guess config.sub ltmain.sh
+#libtoolize
+#autoreconf
 
 %configure --disable-rpath
 
@@ -47,17 +46,16 @@
 %install
 rm -rf %{buildroot}
 
-export DESTDIR=%{buildroot}
-make install
-make install-doc
+make DESTDIR=%{buildroot} install
+make DESTDIR=%{buildroot} install-doc
+
+rm doc/doxyparse.pl
 #remove doc stubs
 rm -rf doc/.svn
-#remove double set of man pages
-rm -rf doc/man
 # remove .la files
 rm -rf %{buildroot}%{_libdir}/*.la
-(cd drill ; make install)
-(cd examples; make install)
+(cd drill ; make DESTDIR=%{buildroot} install)
+(cd examples; make DESTDIR=%{buildroot} install)
 
 %clean
 rm -rf %{buildroot}
@@ -82,8 +80,9 @@
 %postun -p /sbin/ldconfig
 
 %changelog
-* Mon Aug  8 2007 Paul Wouters <paul at xelerance.com> 1.2.0-4
+* Mon Aug  8 2007 Paul Wouters <paul at xelerance.com> 1.2.0-5
 - Added sha256 DS record patch to ldns-key2ds
+- Minor tweaks for proper doc/man page installation.
 
 * Mon Aug  6 2007 Paul Wouters <paul at xelerance.com> 1.2.0-2
 - Own the /usr/include/ldns directory (bug #233858)




More information about the fedora-extras-commits mailing list