[packages/opendkim] adapter, fix deps
glen
glen at pld-linux.org
Fri Nov 14 14:14:13 CET 2014
commit 967026078b3013de805b1160047eab6f5e3f9555
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 14 15:14:08 2014 +0200
adapter, fix deps
opendkim.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/opendkim.spec b/opendkim.spec
index c9f3b58..60d9b7b 100644
--- a/opendkim.spec
+++ b/opendkim.spec
@@ -4,9 +4,9 @@ Version: 2.9.2
Release: 0.1
License: BSD and Sendmail
Group: Daemons
-URL: http://opendkim.org/
Source0: http://downloads.sourceforge.net/opendkim/%{name}-%{version}.tar.gz
# Source0-md5: 08cc80a2aedec62b0444d8d6af24a155
+URL: http://opendkim.org/
BuildRequires: db-devel
BuildRequires: libmemcached-devel
BuildRequires: openssl-devel
@@ -33,7 +33,7 @@ built using libopendkim.
%package libs-devel
Summary: Development files for libopendkim
Group: Development/Libraries
-Requires: libopendkim = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description libs-devel
This package contains the static libraries, headers, and other support
@@ -50,23 +50,22 @@ files required for developing applications against libopendkim.
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -d $RPM_BUILD_ROOT%{_initrddir}
install -d $RPM_BUILD_ROOT%{systemdunitdir}
+install -p contrib/init/redhat/%{name} $RPM_BUILD_ROOT%{_initrddir}/%{name}
cp -p contrib/systemd/%{name}.service $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
-cp -p contrib/init/redhat/%{name} $RPM_BUILD_ROOT%{_initrddir}/%{name}
cp -p contrib/init/redhat/%{name}-default-keygen $RPM_BUILD_ROOT%{_sbindir}/%{name}-default-keygen
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
%clean
rm -rf $RPM_BUILD_ROOT
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc FEATURES KNOWNBUGS LICENSE LICENSE.Sendmail RELEASE_NOTES RELEASE_NOTES.Sendmail INSTALL
@@ -101,4 +100,3 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/%{name}
%{_libdir}/*.so
%{_pkgconfigdir}/*.pc
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opendkim.git/commitdiff/967026078b3013de805b1160047eab6f5e3f9555
More information about the pld-cvs-commit
mailing list