rpms/smartmontools/F-11 smartmontools.spec,1.55,1.56

Michal Hlavinka mhlavink at fedoraproject.org
Thu Sep 3 09:11:34 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/smartmontools/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22897

Modified Files:
	smartmontools.spec 
Log Message:
update also build process and buildrequires



Index: smartmontools.spec
===================================================================
RCS file: /cvs/extras/rpms/smartmontools/F-11/smartmontools.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -p -r1.55 -r1.56
--- smartmontools.spec	3 Sep 2009 09:04:56 -0000	1.55
+++ smartmontools.spec	3 Sep 2009 09:11:34 -0000	1.56
@@ -18,7 +18,7 @@ Patch6:        smartmontools-5.38-lowcap
 BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Requires:      fileutils mailx chkconfig initscripts
 BuildRequires: readline-devel ncurses-devel /usr/bin/aclocal util-linux groff gettext
-BuildRequires: libselinux-devel automake
+BuildRequires: libselinux-devel libcap-ng-devel
 
 %description
 The smartmontools package contains two utility programs (smartctl
@@ -38,8 +38,9 @@ failure.
 %patch6 -p1 -b .lowcap
 
 %build
-./autogen.sh
-%configure --with-selinux
+ln -s CHANGELOG ChangeLog
+autoreconf -i
+%configure --with-selinux --with-libcap-ng=yes
 %ifarch sparc64
 make CXXFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie -Wl,-z,relro,-z,now"
 %else




More information about the fedora-extras-commits mailing list