rpms/rubber/devel rubber-python26.patch, NONE, 1.1 rubber.spec, 1.3, 1.4
Sergio Pascual
sergiopr at fedoraproject.org
Mon Jun 15 14:12:40 UTC 2009
Author: sergiopr
Update of /cvs/pkgs/rpms/rubber/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31055
Modified Files:
rubber.spec
Added Files:
rubber-python26.patch
Log Message:
* Mon Jun 15 2009 Sergio Pascual <sergiops at fedoraproject.org> - 1.1-5
- Patch to remove a Deprecation Warning in Python 2.6 (bz #506053)
rubber-python26.patch:
--- NEW FILE rubber-python26.patch ---
diff -ur rubber-1.1/src/util.py rubber-1.1.new/src/util.py
--- rubber-1.1/src/util.py 2006-03-17 14:52:45.000000000 +0100
+++ rubber-1.1.new/src/util.py 2009-06-15 16:05:57.000000000 +0200
@@ -5,7 +5,7 @@
by the modules for various tasks.
"""
-import md5
+import hashlib
import os, stat, time
import imp
import re, string
@@ -19,7 +19,7 @@
"""
Compute the MD5 sum of a given file.
"""
- m = md5.new()
+ m = hashlib.md5()
file = open(fname)
for line in file.readlines():
m.update(line)
Index: rubber.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubber/devel/rubber.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- rubber.spec 25 Feb 2009 21:13:51 -0000 1.3
+++ rubber.spec 15 Jun 2009 14:12:08 -0000 1.4
@@ -3,7 +3,7 @@
Name: rubber
Version: 1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: An automated system for building LaTeX documents
Group: Applications/Publishing
@@ -11,6 +11,7 @@ License: GPL+
URL: http://rubber.sourceforge.net/
Source0: http://rubber.sourceforge.net/%{name}-%{version}.tar.gz
+Patch0: rubber-python26.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: python-devel texinfo
@@ -30,6 +31,7 @@ Metapost compilation).
%prep
%setup -q
+%patch0 -p1
for file in doc/man-fr/*; do
iconv -f ISO88591 -t utf8 $file -o $file
done
@@ -64,6 +66,9 @@ fi
%{_mandir}/fr/man1/*.gz
%changelog
+* Mon Jun 15 2009 Sergio Pascual <sergiops at fedoraproject.org> - 1.1-5
+- Patch to remove a Deprecation Warning in Python 2.6 (bz #506053)
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list