jussilehtola pushed to python-mpmath (epel7). "Spec cleanup (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri May 22 19:03:59 UTC 2015
From 270d7cb43b2988cf0d40007899da04090cb51bf7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek at in.waw.pl>
Date: Tue, 6 Aug 2013 17:00:32 -0400
Subject: Spec cleanup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- cleanup whitespace at end of lines,
- depend on brp-python-bytecompile for byte compilation —
to avoid warning about py_exec3.py.
diff --git a/python-mpmath.spec b/python-mpmath.spec
index 11b5788..20a04aa 100644
--- a/python-mpmath.spec
+++ b/python-mpmath.spec
@@ -44,7 +44,7 @@ This package contains the HTML documentation for %{name}.
%prep
%setup -q -n mpmath-all-%{version}
%patch0 -p1 -b .buildfix
-# Convert line encodings
+# Convert line encodings
for doc in LICENSE CHANGES PKG-INFO README mpmath/tests/runtests.py; do
sed "s|\r||g" $doc > $doc.new && \
touch -r $doc $doc.new && \
@@ -63,11 +63,11 @@ done
python setup.py build
# Build documentation
cd doc
-python build.py
+python build.py
%install
rm -rf %{buildroot}
-python setup.py install -O1 --skip-build --root %{buildroot}
+python setup.py install --skip-build --root %{buildroot}
# Get rid of python 3 version that fails to byte-compile
rm %{buildroot}%{python_sitelib}/mpmath/libmp/exec_py3.py*
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-mpmath.git/commit/?h=epel7&id=270d7cb43b2988cf0d40007899da04090cb51bf7
More information about the scm-commits
mailing list