SPECS: di.spec - 4.12 - pass proper CFLAGS and LDFLAGS (Makefile.p...

lisu lisu at pld-linux.org
Mon Jan 21 07:44:46 CET 2008


Author: lisu                         Date: Mon Jan 21 06:44:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 4.12
- pass proper CFLAGS and LDFLAGS (Makefile.patch)
- set proper path to sed command, it's /bin/sed

---- Files affected:
SPECS:
   di.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/di.spec
diff -u SPECS/di.spec:1.37 SPECS/di.spec:1.38
--- SPECS/di.spec:1.37	Sun Jun 17 23:36:20 2007
+++ SPECS/di.spec	Mon Jan 21 07:44:41 2008
@@ -2,12 +2,13 @@
 Summary:	Disk Info - disk information utility
 Summary(pl.UTF-8):	Disk Info - informacje o dyskach
 Name:		di
-Version:	4.11
+Version:	4.12
 Release:	1
 License:	custom (see LICENSE* files)
 Group:		Applications/System
 Source0:	http://www.gentoo.com/di/%{name}-%{version}.tar.gz
-# Source0-md5:	d41461eb23dbe2adab9d074478240b7e
+# Source0-md5:	2a62fb1b362cbaa22426073a06d84e07
+Patch0:		%{name}-Makefile.patch
 URL:		http://www.gentoo.com/di/
 BuildRequires:	gettext-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,12 +30,15 @@
 
 %prep
 %setup -q
+%patch0 -p1
+sed -e 's@ sed@ /bin/sed at g' -i features/cflags.sh
 
 %build
 %{__make} \
 	prefix=%{_prefix} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags}" \
+	OPTFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +68,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2008-01-21 06:44:41  lisu
+- 4.12
+- pass proper CFLAGS and LDFLAGS (Makefile.patch)
+- set proper path to sed command, it's /bin/sed
+
 Revision 1.37  2007-06-17 21:36:20  jackass
 - up to 4.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/di.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list