SPECS: i810switch.spec - rel.1 - remove binaries from sources, it builds no...

blues blues at pld-linux.org
Sat Aug 23 15:58:12 CEST 2008


Author: blues                        Date: Sat Aug 23 13:58:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.1 - remove binaries from sources, it builds now, not only packages...

---- Files affected:
SPECS:
   i810switch.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/i810switch.spec
diff -u SPECS/i810switch.spec:1.2 SPECS/i810switch.spec:1.3
--- SPECS/i810switch.spec:1.2	Fri Mar  9 20:38:13 2007
+++ SPECS/i810switch.spec	Sat Aug 23 15:58:07 2008
@@ -1,10 +1,9 @@
 # $Revision$, $Date$
-# TODO: optflags
 Summary:	i810switch - for switching the LCD and external VGA displays on and off
 Summary(pl.UTF-8):	i810switch - program do przełączania wyświetlacza LCD i zewnętrznego VGA
 Name:		i810switch
 Version:	0.6.5
-Release:	0.1
+Release:	1
 License:	GPL v2
 Group:		Applications
 Source0:	http://www16.plala.or.jp/mano-a-mano/i810switch/%{name}-%{version}.tar.gz
@@ -23,9 +22,13 @@
 
 %prep
 %setup -q
+# Remove binaries supplied with sources:
+%{__make} clean
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -39,7 +42,6 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
-#%%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man?/i810*
 
@@ -49,6 +51,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/08/23 13:58:07  blues
+- rel.1 - remove binaries from sources, it builds now, not only packages...
+
 Revision 1.2  2007/03/09 19:38:13  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/i810switch.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list