summaryrefslogtreecommitdiffstats
path: root/bind.spec
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2010-03-22 15:34:49 +0000
committerAdam Tkac <atkac@fedoraproject.org>2010-03-22 15:34:49 +0000
commit8785971f78b16d10191886149d56b4a99f21c081 (patch)
tree09808a9719782cfa46471afeccac8d564004cd24 /bind.spec
parentdf05e7d42dba02a7adf9afb1df98e441a21b556f (diff)
downloadbind-8785971f78b16d10191886149d56b4a99f21c081.tar.gz
bind-8785971f78b16d10191886149d56b4a99f21c081.tar.xz
bind-8785971f78b16d10191886149d56b4a99f21c081.zip
- install SDB related manpages only when build with SDBbind-9_7_0-7_P1_fc14
Diffstat (limited to 'bind.spec')
-rw-r--r--bind.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/bind.spec b/bind.spec
index f08ccda..964e604 100644
--- a/bind.spec
+++ b/bind.spec
@@ -21,7 +21,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.7.0
-Release: 6.%{PATCHVER}%{?dist}
+Release: 7.%{PATCHVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -367,11 +367,13 @@ find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
# /usr/lib/rpm/brp-compress
#
-#SDB manpages
+# SDB manpages
+%if %{SDB}
install -m 644 %{SOURCE31} ${RPM_BUILD_ROOT}%{_mandir}/man1/ldap2zone.1
install -m 644 %{SOURCE32} ${RPM_BUILD_ROOT}%{_mandir}/man8/named-sdb.8
install -m 644 %{SOURCE33} ${RPM_BUILD_ROOT}%{_mandir}/man1/zonetodb.1
install -m 644 %{SOURCE34} ${RPM_BUILD_ROOT}%{_mandir}/man1/zone2sqlite.1
+%endif
# Ghost config files:
touch ${RPM_BUILD_ROOT}%{_localstatedir}/log/named.log
@@ -662,6 +664,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Mon Mar 22 2010 Adam Tkac <atkac redhat com> 32:9.7.0-7.P1
+- install SDB related manpages only when build with SDB
+
* Fri Mar 19 2010 Adam Tkac <atkac redhat com> 32:9.7.0-6.P1
- update to 9.7.0-P1