looks fine; rel 1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 27 Jan 2013 15:33:11 +0000 (17:33 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 27 Jan 2013 15:33:11 +0000 (17:33 +0200)
python-MarkupSafe.spec

index 1f44136076231d235ae0847609b1ff38029e17f4..8045f505fc53696a0aa62e36550fd64df28e97da 100644 (file)
@@ -1,9 +1,8 @@
 %define        module  MarkupSafe
 Summary:       Implements a XML/HTML/XHTML Markup safe string for Python
-#Summary(pl.UTF-8):    -
 Name:          python-%{module}
 Version:       0.15
-Release:       0.2
+Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       http://pypi.python.org/packages/source/M/MarkupSafe/%{module}-%{version}.tar.gz
@@ -19,14 +18,13 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Implements a XML/HTML/XHTML Markup safe string for Python.
 
-#%description -l pl.UTF-8
-
 %prep
 %setup -q -n %{module}-%{version}
 
 %build
 # CFLAGS is only for arch packages - remove on noarch packages
-export CFLAGS="%{rpmcflags}"
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
 %{__python} setup.py build
 
 %install
@@ -35,6 +33,8 @@ rm -rf $RPM_BUILD_ROOT
        --optimize=2 \
        --root=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/markupsafe/_speedups.c
+
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
This page took 0.05122 seconds and 4 git commands to generate.