packages: python-dns/python-dns.spec - updated to 1.9.2

qboosh qboosh at pld-linux.org
Thu Dec 2 20:26:09 CET 2010


Author: qboosh                       Date: Thu Dec  2 19:26:09 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.9.2

---- Files affected:
packages/python-dns:
   python-dns.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/python-dns/python-dns.spec
diff -u packages/python-dns/python-dns.spec:1.18 packages/python-dns/python-dns.spec:1.19
--- packages/python-dns/python-dns.spec:1.18	Sat Nov 13 01:18:59 2010
+++ packages/python-dns/python-dns.spec	Thu Dec  2 20:26:03 2010
@@ -5,15 +5,16 @@
 Summary:	dnspython - a DNS toolkit for Python
 Summary(pl.UTF-8):	dnspython - zestaw narzędzi do DNS dla Pythona
 Name:		python-%{module}
-Version:	1.6.0
-Release:	4
-License:	distributable
+Version:	1.9.2
+Release:	1
+License:	MIT
 Group:		Development/Languages/Python
 Source0:	http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
-# Source0-md5:	15b8eed42689bd719ec1878a584787ea
+# Source0-md5:	26426043e619d34b47c7c30dc0a02f1c
 URL:		http://www.dnspython.org/
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 %pyrequires_eq	python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,7 +45,7 @@
 %setup -q -n dnspython-%{version}
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,22 +53,21 @@
 
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
+%{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE ChangeLog README TODO
+%doc ChangeLog LICENSE README TODO
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/*.egg-info
-%dir %{_examplesdir}/%{name}-%{version}
-%{_examplesdir}/%{name}-%{version}/*
+%{_examplesdir}/%{name}-%{version}
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2010/12/02 19:26:03  qboosh
+- updated to 1.9.2
+
 Revision 1.18  2010/11/13 00:18:59  pawelz
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-dns/python-dns.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list