SPECS: acpitail.spec - optflags - libacpi-static is not needed wit...

qboosh qboosh at pld-linux.org
Sun Jun 24 15:38:18 CEST 2007


Author: qboosh                       Date: Sun Jun 24 13:38:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optflags
- libacpi-static is not needed with shared libacpi built correctly

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

---- Diffs:

================================================================
Index: SPECS/acpitail.spec
diff -u SPECS/acpitail.spec:1.2 SPECS/acpitail.spec:1.3
--- SPECS/acpitail.spec:1.2	Thu Jun 21 08:20:48 2007
+++ SPECS/acpitail.spec	Sun Jun 24 15:38:13 2007
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags; why -static?
 Summary:	Shows information of an ACPI capable system
 Summary(pl.UTF-8):	Wyświetlanie informacji systemu ACPI
 Name:		acpitail
@@ -12,7 +11,6 @@
 Patch0:		%{name}-Makefile.patch
 URL:		http://www.vanheusden.com/acpitail/
 BuildRequires:	libacpi-devel
-BuildRequires:	libacpi-static
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,7 +29,9 @@
 
 %build
 %{__make} \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \
+	LDFLAGS="%{rpmldflags} -lacpi"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,6 +54,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/06/24 13:38:13  qboosh
+- optflags
+- libacpi-static is not needed with shared libacpi built correctly
+
 Revision 1.2  2007/06/21 06:20:48  qboosh
 - typo
 
================================================================

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



More information about the pld-cvs-commit mailing list