From 41fd9702a75d7091a708f12917874d485dfcb180 Mon Sep 17 00:00:00 2001 From: vcrhonek Date: Wed, 7 Mar 2007 13:17:49 +0000 Subject: [PATCH] fix my previous mistakes --- smartmontools.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/smartmontools.spec b/smartmontools.spec index b1e5f91..e5e874f 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -10,6 +10,7 @@ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: smartd.initd Source2: smartd-conf.py Source3: smartmontools.sysconf +Patch1: smartmontools-5.37-cloexec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: /sbin/chkconfig /sbin/service @@ -28,10 +29,11 @@ failure. %prep %setup -q +%patch1 -p1 -b .cloexec %build %configure -make CFLAGS="$RPM_OPT_FLAGS -fpic" LDFLAGS="-pic -Wl,-z,relro,-z,now" +make CFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-fpie -Wl,-z,relro,-z,now" %install rm -rf $RPM_BUILD_ROOT @@ -77,6 +79,10 @@ exit 0 * Tue Feb 27 2007 Vitezslav Crhonek - 1:5.37-1 - new upstream version +* Thu Feb 22 2007 Tomas Mraz - 1:5.36-8 +- enable SMART on disks when smartd-conf.py runs (fix + by Calvin Ostrum) (#214502) + * Mon Feb 12 2007 Tomas Mraz - 1:5.36-7 - redirect service script output to null (#224566)