SPECS: libdhcp.spec - libdir fix

arekm arekm at pld-linux.org
Tue Feb 20 21:15:50 CET 2007


Author: arekm                        Date: Tue Feb 20 20:15:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libdir fix

---- Files affected:
SPECS:
   libdhcp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libdhcp.spec
diff -u SPECS/libdhcp.spec:1.1 SPECS/libdhcp.spec:1.2
--- SPECS/libdhcp.spec:1.1	Tue Feb 20 20:41:52 2007
+++ SPECS/libdhcp.spec	Tue Feb 20 21:15:44 2007
@@ -7,11 +7,12 @@
 Group:		Development/Libraries
 Source0:	http://people.redhat.com/dcantrel/libdhcp/%{name}-%{version}.tar.bz2
 # Source0-md5:	02376447afa1130ff2427dfead1a2daf
+Patch0:		%{name}-opt.patch
 URL:		http://people.redhat.com/dcantrel/
 BuildRequires:	dhcp-devel
 BuildRequires:	libdhcp4client-devel >= 12:3.0.4-18
 BuildRequires:	libdhcp6client-devel >= 0.10-38
-BuildRequires:	libnl-devel >= 1.0-0.pre6.1
+BuildRequires:	libnl-devel >= 1.0-0.pre5.1
 BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,12 +45,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} \
-	CFLAGS="%{rpmcflags}" \
+	OPTFLAGS="%{rpmcflags}" \
 	CC="%{__cc}"
 
 %install
@@ -57,6 +59,7 @@
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
+	libdir=$RPM_BUILD_ROOT%{_libdir} \
 	pkgcfgdir=${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
 
 %clean
@@ -87,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/02/20 20:15:44  arekm
+- libdir fix
+
 Revision 1.1  2007/02/20 19:41:52  arekm
 - new from fedora
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdhcp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list