rpms/athcool/devel athcool-0.3.12-buildfix.patch, NONE, 1.1 athcool.spec, 1.7, 1.8
Adel Gadllah (drago01)
fedora-extras-commits at redhat.com
Sun Feb 10 23:27:50 UTC 2008
Author: drago01
Update of /cvs/pkgs/rpms/athcool/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv869
Modified Files:
athcool.spec
Added Files:
athcool-0.3.12-buildfix.patch
Log Message:
fix build
athcool-0.3.12-buildfix.patch:
--- NEW FILE athcool-0.3.12-buildfix.patch ---
diff -upNr athcool-0.3.12.orign/Makefile athcool-0.3.12/Makefile
--- athcool-0.3.12.orign/Makefile 2007-11-05 13:47:46.000000000 +0100
+++ athcool-0.3.12/Makefile 2008-02-11 00:22:53.000000000 +0100
@@ -20,7 +20,7 @@ CFLAGS = -O2 -Wall
DEFS = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
#DEFS += -DENABLE_FORCEID=1
#DEFS += -DDISABLE_WRITE_REG=1
-LIBS = -lpci
+LIBS = -lpci -lz
### rules ###
Index: athcool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/athcool/devel/athcool.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- athcool.spec 10 Feb 2008 23:14:54 -0000 1.7
+++ athcool.spec 10 Feb 2008 23:27:15 -0000 1.8
@@ -1,6 +1,6 @@
Name: athcool
Version: 0.3.12
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Enables/disables Powersaving mode for AMD processors
Group: System Environment/Daemons
@@ -9,9 +9,11 @@
Source0: http://members.jcom.home.ne.jp/jacobi/linux/files/%{name}-%{version}.tar.gz
Source1: athcool.init
Patch0: athcool-0.3.11.quiet.patch
+Patch1: athcool-0.3.12-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pciutils-devel
+BuildRequires: zlib-devel
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
@@ -92,6 +94,9 @@
%changelog
+* Mon Feb 11 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.3.12-2
+- Fix build
+
* Mon Feb 11 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.3.12-1
- Update to 0.3.12
More information about the fedora-extras-commits
mailing list