[python-dialog: 4/4] - Added python-dialog-demo.patch, fix BZ#594988
Miloš Jakubíček
mjakubicek at fedoraproject.org
Thu Jan 20 12:55:35 UTC 2011
commit c5ddaa0dd75a762ae0a0b4ff0f727b1fcf86ff07
Author: Milos Jakubicek <xjakub at fi.muni.cz>
Date: Thu Jan 20 13:54:55 2011 +0100
- Added python-dialog-demo.patch, fix BZ#594988
- Fix rpmlint: W: file-not-utf8 /usr/share/doc/python-dialog-2.7/TODO
- Fix rpmlint: W: file-not-utf8 /usr/share/doc/python-dialog-2.7/README
python-dialog.spec | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/python-dialog.spec b/python-dialog.spec
index 41a8ba8..5b21c98 100644
--- a/python-dialog.spec
+++ b/python-dialog.spec
@@ -2,13 +2,16 @@
Name: python-dialog
Version: 2.7
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Python interface to the Unix dialog utility
Group: Development/Languages
License: LGPLv2+
URL: http://pythondialog.sourceforge.net
Source0: http://downloads.sourceforge.net/pythondialog/pythondialog-2.7.tar.bz2
+Patch0: python-dialog-demo.patch
+# filed into upstream bugtracker as
+# http://sourceforge.net/tracker/?func=detail&aid=3162630&group_id=58155&atid=486713
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -22,11 +25,14 @@ features from Python code.
%prep
%setup -q -n pythondialog-%{version}
-
+%patch0
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-
+iconv -f latin2 -t utf-8 TODO > TODO.utf8
+mv TODO.utf8 TODO
+iconv -f latin2 -t utf-8 README > README.utf8
+mv README.utf8 README
%install
rm -rf $RPM_BUILD_ROOT
@@ -45,6 +51,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Jan 20 2011 Miloš Jakubíček <xjakub at fi.muni.cz> - 2.7-13
+- Added python-dialog-demo.patch, fix BZ#594988
+- Fix rpmlint: W: file-not-utf8 /usr/share/doc/python-dialog-2.7/TODO
+- Fix rpmlint: W: file-not-utf8 /usr/share/doc/python-dialog-2.7/README
+
* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 2.7-12
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list