[python-unidecode] mark it noarch. Pointed out Ville Skyttä

Rahul Sundaram sundaram at fedoraproject.org
Mon Jul 18 04:40:28 UTC 2011


commit a76b2634247ff9234e4ea5b86f45d1eb330f7f11
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Mon Jul 18 10:06:30 2011 +0530

    mark it noarch.  Pointed out Ville Skyttä

 python-unidecode.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/python-unidecode.spec b/python-unidecode.spec
index 90e5b21..840551c 100644
--- a/python-unidecode.spec
+++ b/python-unidecode.spec
@@ -2,7 +2,7 @@
 
 Name:		python-unidecode
 Version:	0.04.7
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	US-ASCII transliterations of Unicode text
 
 Group:		Development/Libraries
@@ -10,6 +10,7 @@ License:	GPL+ or Artistic
 URL:		http://pypi.python.org/pypi/%{srcname}/%{version}
 Source0:	http://pypi.python.org/packages/source/U/%{srcname}/%{srcname}-%{version}.tar.gz
 
+BuildArch:	noarch
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 
@@ -18,27 +19,24 @@ This is a python port of Text::Unidecode Perl module. It provides a function,
 'unidecode(...)' that takes Unicode data and tries to represent it in ASCII
 characters.
 
-For ex. unidecode(u'\U0001d5c4\U0001d5c6/\U0001d5c1') returns 'km/h'.
-
 %prep
 %setup -q -n %{srcname}-%{version}
 
-
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-
+%{__python} setup.py build
 
 %install
-%{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT"
-
+%{__python} setup.py install --skip-build --root=%{buildroot}
 
 %files
 %doc README ChangeLog
 %{python_sitelib}/unidecode/
 %{python_sitelib}/*.egg-info/
 
-
 %changelog
+* Mon Jul 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 0.04.7-4
+- mark it noarch.  Pointed out Ville Skyttä
+
 * Fri Jul 15 2011 P J P <pj.pandit at yahoo.co.in> - 0.04.7-3
 - changed to use srcname and version macros in URL & Source0 variables.
 


More information about the scm-commits mailing list