rpms/smartmontools/F-12 smartmontools-5.38-ac264.patch, NONE, 1.1 smartmontools.spec, 1.66, 1.67

Michal Hlavinka mhlavink at fedoraproject.org
Tue Nov 24 08:25:15 UTC 2009


Author: mhlavink

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

Modified Files:
	smartmontools.spec 
Added Files:
	smartmontools-5.38-ac264.patch 
Log Message:
* Tue Nov 24 2009 Michal Hlavinka <mhlavink at redhat.com> - 1:5.38-23
- fix building with autoconf 2.64


smartmontools-5.38-ac264.patch:
 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE smartmontools-5.38-ac264.patch ---
diff -up smartmontools-5.38/configure.in.ac264 smartmontools-5.38/configure.in
--- smartmontools-5.38/configure.in.ac264	2009-11-24 09:12:13.525355209 +0100
+++ smartmontools-5.38/configure.in	2009-11-24 09:09:15.000000000 +0100
@@ -46,7 +46,7 @@ esac
 dnl Checks for libraries.needed for gethostbyname (Solaris needs
 dnl libnsl, might in the future also need libsocket)
 #  AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
-AC_SEARCH_LIBS(gethostbyname, nsl, , AC_SEARCH_LIBS(gethostbyname, nsl, , , -lsocket), , )
+AC_SEARCH_LIBS(gethostbyname, nsl)
 
 dnl Checks for header files.
 AC_CHECK_HEADERS([locale.h])


Index: smartmontools.spec
===================================================================
RCS file: /cvs/extras/rpms/smartmontools/F-12/smartmontools.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- smartmontools.spec	2 Nov 2009 15:40:24 -0000	1.66
+++ smartmontools.spec	24 Nov 2009 08:25:14 -0000	1.67
@@ -1,7 +1,7 @@
 Summary:	Tools for monitoring SMART capable hard disks
 Name:		smartmontools
 Version:	5.38
-Release:	22%{?dist}
+Release:	23%{?dist}
 Epoch:		1
 Group:		System Environment/Base
 License:	GPLv2+
@@ -9,12 +9,28 @@ URL:		http://smartmontools.sourceforge.n
 Source0:	http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:	smartd.initd
 Source2:	smartmontools.sysconf
+
+#exists upstream, required for <= 5.38
 Patch1:		smartmontools-5.38-cloexec.patch
+
+#exists upstream, required for <= 5.38
 Patch2:		smartmontools-5.37-addrinfo.patch
+
+#this was fixed upstream, required for <= 5.38
 Patch3:		smartmontools-5.38-perc.patch
+
+#exists upstream, required for <= 5.38
 Patch4:		smartmontools-5.38-selinux.patch
+
+#fedora/rhel specific
 Patch5:		smartmontools-5.38-defaultconf.patch
+
+#libcap-ng new feature
 Patch6:		smartmontools-5.38-lowcap.patch
+
+#taken from upstream, fixes building with autoconf 2.64, required for <= 5.38
+Patch7:         smartmontools-5.38-ac264.patch
+
 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
@@ -36,6 +52,7 @@ failure.
 %patch4 -p1 -b .selinux
 %patch5 -p1 -b .defaultconf
 %patch6 -p1 -b .lowcap
+%patch7 -p1 -b .ac264
 
 # fix encoding
 for fe in AUTHORS CHANGELOG
@@ -89,6 +106,9 @@ fi
 %config(noreplace) %{_sysconfdir}/sysconfig/smartmontools
 
 %changelog
+* Tue Nov 24 2009 Michal Hlavinka <mhlavink at redhat.com> - 1:5.38-23
+- fix building with autoconf 2.64
+
 * Mon Nov 02 2009 Michal Hlavinka <mhlavink at redhat.com> - 1:5.38-22
 - spec cleanup
 




More information about the fedora-extras-commits mailing list