summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opendkim.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/opendkim.spec b/opendkim.spec
index d1d3012..410dbbb 100644
--- a/opendkim.spec
+++ b/opendkim.spec
@@ -5,7 +5,7 @@
Summary: A DomainKeys Identified Mail (DKIM) milter to sign and/or verify mail
Name: opendkim
Version: 2.10.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD and Sendmail
URL: http://opendkim.org/
Group: System Environment/Daemons
@@ -65,7 +65,7 @@ required for developing applications against libopendkim.
%if 0%{?fedora} < 23
%package sysvinit
Summary: The SysV init script to manage the OpenDKIM milter.
-Group: System Environmnt/Daemons
+Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
%description sysvinit
@@ -84,7 +84,13 @@ It is not required when the init system used is systemd.
#%patch0 -p1
%build
+# Always use system libtool instead of opendkim provided one to
+# properly handle 32 versus 64 bit detection and settings
+%define LIBTOOL LIBTOOL=`which libtool`
+
%configure --with-libmemcached --with-db
+
+# Remove rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -450,6 +456,12 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/*.pc
%changelog
+* Fri Mar 24 2015 Steve Jenkins <steve@stevejenkins.com> - 2.10.1-4
+- Fixed typo in Group name
+- Added updated libtool definition
+- Additional comments in spec file
+- Patch SysV initscript to stop default key generation on startup
+
* Thu Mar 05 2015 Adam Jackson <ajax@redhat.com> 2.10.1-3
- Drop sysvinit subpackage from F23+