From 9312eb5cd72eb88dbc20829548cad5c12c405ac5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 24 Jun 2007 13:38:13 +0000 Subject: [PATCH] - optflags - libacpi-static is not needed with shared libacpi built correctly Changed files: acpitail.spec -> 1.3 --- acpitail.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acpitail.spec b/acpitail.spec index 738d17c..1b40705 100644 --- a/acpitail.spec +++ b/acpitail.spec @@ -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 -- 2.44.0