rpms/python-pydns/EL-5 python-pydns.spec,1.1,1.2 sources,1.2,1.3

Sean Reifschneider (jafo) fedora-extras-commits at redhat.com
Mon Dec 3 01:08:13 UTC 2007


Author: jafo

Update of /cvs/extras/rpms/python-pydns/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17800

Modified Files:
	python-pydns.spec sources 
Log Message:
New upstream release.



Index: python-pydns.spec
===================================================================
RCS file: /cvs/extras/rpms/python-pydns/EL-5/python-pydns.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-pydns.spec	1 Sep 2006 02:04:43 -0000	1.1
+++ python-pydns.spec	3 Dec 2007 01:07:41 -0000	1.2
@@ -1,17 +1,18 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           python-pydns
-Version:        2.3.0
-Release:        4%{?dist}
+Version:        2.3.1
+Release:        1%{?dist}
 Summary:        Python module for DNS (Domain Name Service)
 
 Group:          Development/Languages
 License:        Python license
 URL:            http://pydns.sourceforge.net/
-Source0:        http://easynews.dl.sourceforge.net/sourceforge/pydns/pydns-%{version}.tgz
+Source0:        http://easynews.dl.sourceforge.net/sourceforge/pydns/pydns-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+BuildRequires:  python-devel
 
 %description
 This is a another release of the pydns code, as originally written by
@@ -25,6 +26,15 @@
 %define namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
 %prep
 %setup -q -n %{namewithoutpythonprefix}-%{version}
+#  fix encoding of files
+for file in DNS/*.py;
+do
+	echo '# -*- coding: latin-1 -*-' >"${file}".new
+	cat "${file}" >>"${file}".new
+	cat "${file}".new >"${file}"
+	rm "${file}".new
+	head "${file}" #@@@
+done
 
 
 %build
@@ -47,6 +57,12 @@
 %{python_sitelib}/DNS/*.py*
 
 %changelog
+* Sun Dec 02 2007 Sean Reifschneider <jafo at tummy.com> 2.3.1-1
+- Updating to new upstream release.
+
+* Sun Jan 21 2007 Sean Reifschneider <jafo at tummy.com> 2.3.0-5
+- Adding encoding of the Python files.
+
 * Thu Aug 31 2006 Sean Reifschneider <jafo at tummy.com> 2.3.0-4
 - Fixing .spec file changelog entries.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-pydns/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	1 Sep 2006 02:04:43 -0000	1.2
+++ sources	3 Dec 2007 01:07:41 -0000	1.3
@@ -1 +1 @@
-b79616da9e88abce88edf82b369ee58d  pydns-2.3.0.tgz
+a2ee77b46d17f8f355ff7784cea76d2c  pydns-2.3.1.tar.gz




More information about the fedora-extras-commits mailing list