Browse Source

unbound 1.4.7-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2304 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 14 năm trước cách đây
mục cha
commit
d5b602f26d
1 tập tin đã thay đổi với 18 bổ sung3 xóa
  1. 18 3
      u/unbound/unbound-vl.spec

+ 18 - 3
u/unbound/unbound-vl.spec

@@ -2,6 +2,7 @@
 
 # not ready yet
 %{?!with_python:      %global with_python      0}
+%{?!enable_gost:      %global enable_gost      0}
 
 %if %{with_python}
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -10,7 +11,7 @@
 
 Summary: Validating, recursive, and caching DNS(SEC) resolver
 Name: unbound
-Version: 1.4.6
+Version: 1.4.7
 Release: 1%{?_dist_release}
 License: BSD
 Url: http://www.unbound.net/
@@ -23,11 +24,17 @@ Patch1: unbound-1.2-glob.patch
 
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: flex, openssl-devel , ldns-devel >= 1.5.0, 
-BuildRequires: libevent-devel 
+BuildRequires: flex, ldns-devel >= 1.5.0, 
+BuildRequires: libevent-devel
+BuildRequires: expat-devel
 %if %{with_python}
 BuildRequires:  python-devel swig
 %endif
+%if %{enable_gost}
+BuildRequires: openssl-devel >= 1.0.0
+%else
+BuildRequires: openssl-devel
+%endif
 # Required for SVN versions
 #BuildRequires: bison
 
@@ -104,6 +111,9 @@ Python modules and extensions for unbound
             --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \
 %if %{with_python}
             --with-pythonmodule --with-pyunbound \
+%endif
+%if !%{enable_gost}
+            --disable-gost \
 %endif
             --enable-sha2
 %{__make} %{?_smp_mflags}
@@ -204,6 +214,11 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Sun Nov 14 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.7-1
+- new upstream release
+- add enable_gost flag: default disable
+- add BuildRequires: expat-devel
+
 * Thu Sep  2 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.6-1
 - new upstream release