rpms/smartmontools/F-10 smartmontools.spec,1.49,1.50

Dennis Gilmore ausil at fedoraproject.org
Sun Apr 12 03:07:27 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/smartmontools/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8605

Modified Files:
	smartmontools.spec 
Log Message:
remove ExclusiveArch use -fPIE on sparc64



Index: smartmontools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smartmontools/F-10/smartmontools.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- smartmontools.spec	11 Aug 2008 06:04:43 -0000	1.49
+++ smartmontools.spec	12 Apr 2009 03:06:55 -0000	1.50
@@ -1,7 +1,7 @@
 Summary:	Tools for monitoring SMART capable hard disks
 Name:		smartmontools
 Version:	5.38
-Release: 	7%{?dist}
+Release: 	8%{?dist}
 Epoch:		1
 Group:		System Environment/Base
 License:	GPLv2+
@@ -21,7 +21,6 @@
 BuildRequires: readline-devel ncurses-devel /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf util-linux groff gettext
 BuildRequires: libselinux-devel
 Obsoletes:	kernel-utils smartmontools-config
-ExclusiveArch:	i386 x86_64 %{arm} ia64 ppc ppc64
 
 %description
 The smartmontools package contains two utility programs (smartctl
@@ -42,7 +41,11 @@
 %build
 ./autogen.sh
 %configure --with-selinux
+%ifarch sparc64
+make CXXFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie -Wl,-z,relro,-z,now"
+%else
 make CXXFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-pie -Wl,-z,relro,-z,now"
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -83,6 +86,10 @@
 %config(noreplace) %{_sysconfdir}/sysconfig/smartmontools
 
 %changelog
+* Sat Apr 11 2009 Dennis Gilmore <dennis at ausil.us> - 1:5.38-8
+- remove ExclusiveArch use -fPIE on sparc64
+- tested builds on sparcv9 sparc64 and s390x
+
 * Mon Aug 11 2008 Tomas Smetana <tsmetana at redhat.com> - 1:5.38-7
 - fix #458549 - obsolete smartmontools-config
 - change the default configuration file




More information about the fedora-extras-commits mailing list