[pdns/epel7] Rename zone2ldap to pdns-zone2ldap (#1193116)
Morten Stevens
mstevens at fedoraproject.org
Tue Feb 17 16:18:06 UTC 2015
commit 9d009cc52f924b2497053a2898b5b50e82dde127
Author: Morten Stevens <mstevens at imt-systems.com>
Date: Tue Feb 17 17:17:56 2015 +0100
Rename zone2ldap to pdns-zone2ldap (#1193116)
pdns.spec | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/pdns.spec b/pdns.spec
index 50ddcfc..cb424e4 100644
--- a/pdns.spec
+++ b/pdns.spec
@@ -3,7 +3,7 @@
Name: pdns
Version: 3.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A modern, advanced and high performance authoritative-only nameserver
Group: System Environment/Daemons
License: GPLv2
@@ -141,9 +141,6 @@ export CPPFLAGS="-DLDAP_DEPRECATED"
--enable-tools \
--enable-unit-tests
-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
-
make %{?_smp_mflags}
%install
@@ -156,6 +153,10 @@ make install DESTDIR=%{buildroot}
chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
+# rename zone2ldap to pdns-zone2ldap (#1193116)
+%{__mv} %{buildroot}/%{_bindir}/zone2ldap %{buildroot}/%{_bindir}/pdns-zone2ldap
+%{__mv} %{buildroot}/%{_mandir}/man1/zone2ldap.1 %{buildroot}/%{_mandir}/man1/pdns-zone2ldap.1
+
# install systemd unit file
%{__install} -D -p -m 644 contrib/systemd-pdns.service %{buildroot}%{_unitdir}/%{name}.service
@@ -192,7 +193,7 @@ exit 0
%doc COPYING README
%{_bindir}/pdns_control
%{_bindir}/pdnssec
-%{_bindir}/zone2ldap
+%{_bindir}/pdns-zone2ldap
%{_bindir}/zone2sql
%{_bindir}/zone2json
%{_sbindir}/pdns_server
@@ -200,7 +201,7 @@ exit 0
%{_mandir}/man1/pdns_control.1.gz
%{_mandir}/man1/pdns_server.1.gz
%{_mandir}/man1/zone2sql.1.gz
-%{_mandir}/man1/zone2ldap.1.gz
+%{_mandir}/man1/pdns-zone2ldap.1.gz
%{_mandir}/man1/pdnssec.1.gz
%{_unitdir}/pdns.service
%dir %{_libdir}/%{name}/
@@ -259,6 +260,10 @@ exit 0
%{_libdir}/%{name}/libgsqlite3backend.so
%changelog
+* Tue Feb 17 2015 Morten Stevens <mstevens at imt-systems.com> - 3.4.2-2
+- Rename zone2ldap to pdns-zone2ldap (#1193116)
+- Remove rpath workaround
+
* Sat Feb 07 2015 Morten Stevens <mstevens at imt-systems.com> - 3.4.2-1
- Update to 3.4.2
- Disable security status polling by default
More information about the scm-commits
mailing list