SPECS: sheerdns.spec - added -Makefile patch, pass CC

darekr darekr at pld-linux.org
Fri Dec 9 21:43:21 CET 2005


Author: darekr                       Date: Fri Dec  9 20:43:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -Makefile patch, pass CC

---- Files affected:
SPECS:
   sheerdns.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/sheerdns.spec
diff -u SPECS/sheerdns.spec:1.12 SPECS/sheerdns.spec:1.13
--- SPECS/sheerdns.spec:1.12	Sun Oct 31 18:00:39 2004
+++ SPECS/sheerdns.spec	Fri Dec  9 21:43:16 2005
@@ -5,14 +5,14 @@
 Version:	1.0.1
 Release:	1
 License:	GPL v2
-Vendor:		Paul Sheer <psheer at icon.co.za>
 Group:		Networking/Daemons
 Source0:	http://threading.2038bug.com/sheerdns/%{name}-%{version}.tar.gz
 # Source0-md5:	abe66eabbd519e620e4679a2dabd93f1
 Source1:	%{name}.init
 Patch0:		%{name}-dir.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://threading.2038bug.com/sheerdns/
-PreReq:		rc-scripts
+Requires:	rc-scripts
 Requires(post,preun):	/sbin/chkconfig
 Provides:	nameserver
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,9 +32,11 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} \
+	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} -Wall -ansi -pedantic"
 
 %install
@@ -70,7 +72,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc sheerdns.html sheerdns.ps
+%doc ChangeLog sheerdns.html sheerdns.ps
 %attr(755,root,root) %{_sbindir}/*
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_mandir}/man8/%{name}.8*
@@ -82,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/12/09 20:43:16  darekr
+- added -Makefile patch, pass CC
+
 Revision 1.12  2004/10/31 17:00:39  paladine
 - spaces->tabs
 - formatting
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sheerdns.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list