]> git.pld-linux.org Git - packages/acpitail.git/commitdiff
- optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Jun 2007 13:38:13 +0000 (13:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- libacpi-static is not needed with shared libacpi built correctly

Changed files:
    acpitail.spec -> 1.3

acpitail.spec

index 738d17c1626bf9d75808c6b7dba79dfa65869929..1b40705f0e4e3aec7ab1f33cfaa62c30f74cc06b 100644 (file)
@@ -1,4 +1,3 @@
-# TODO: optflags; why -static?
 Summary:       Shows information of an ACPI capable system
 Summary(pl.UTF-8):     Wyƛwietlanie informacji systemu ACPI
 Name:          acpitail
@@ -11,7 +10,6 @@ Source0:      http://www.vanheusden.com/acpitail/%{name}-%{version}.tgz
 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
@@ -30,7 +28,9 @@ w laptopach).
 
 %build
 %{__make} \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \
+       LDFLAGS="%{rpmldflags} -lacpi"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.075606 seconds and 4 git commands to generate.