packages: bind/bind.spec - handle pver differently (so df can deal with it)
arekm
arekm at pld-linux.org
Thu Sep 16 08:26:06 CEST 2010
Author: arekm Date: Thu Sep 16 06:26:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- handle pver differently (so df can deal with it)
---- Files affected:
packages/bind:
bind.spec (1.304 -> 1.305)
---- Diffs:
================================================================
Index: packages/bind/bind.spec
diff -u packages/bind/bind.spec:1.304 packages/bind/bind.spec:1.305
--- packages/bind/bind.spec:1.304 Thu Sep 16 08:19:44 2010
+++ packages/bind/bind.spec Thu Sep 16 08:26:00 2010
@@ -12,6 +12,14 @@
%bcond_without tests # perform tests
%bcond_with hip # build with HIP RR support
#
+%define ver 9.7.2
+%if 0
+%define pverdot .P1
+%define pverdir -P1
+%else
+%define pverdot %{nil}
+%define pverdir %{nil}
+%endif
Summary: BIND - DNS name server
Summary(de.UTF-8): BIND - DNS-Namenserver
Summary(es.UTF-8): BIND - Servidor de nombres DNS
@@ -22,15 +30,13 @@
Summary(tr.UTF-8): DNS alan adı sunucusu
Summary(uk.UTF-8): BIND - cервер системи доменних імен (DNS)
Summary(zh_CN.UTF-8): Internet 域名服务器
-%define ver 9.7.2
-#%%define pver %{nil}
Name: bind
-Version: %{ver}%{?pver:.%{pver}}
+Version: %{ver}%{pverdot}
Release: 1
Epoch: 7
License: BSD-like
Group: Networking/Daemons
-Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{?pver:-%{pver}}/%{name}-%{ver}%{?pver:-%{pver}}.tar.gz
+Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}}/%{name}-%{ver}%{pverdir}.tar.gz
# Source0-md5: 166832fc0f94d6e4eb2dac8bed3b275f
Source1: named.init
Source2: named.sysconfig
@@ -336,7 +342,7 @@
Schemat BIND dla openldap.
%prep
-%setup -q %{?with_hip:-a6} -n %{name}-%{ver}%{?pver:-%{pver}}
+%setup -q %{?with_hip:-a6} -n %{name}-%{ver}%{pverdir}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -615,6 +621,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.305 2010/09/16 06:26:00 arekm
+- handle pver differently (so df can deal with it)
+
Revision 1.304 2010/09/16 06:19:44 arekm
- md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bind/bind.spec?r1=1.304&r2=1.305&f=u
More information about the pld-cvs-commit
mailing list