[PyQwt] .spec cosmetics rebuild (qwt)
Rex Dieter
rdieter at fedoraproject.org
Tue Aug 9 21:17:05 UTC 2011
commit 99fce35890e9dcf730e4844e7e8abe316dd124d6
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Tue Aug 9 16:22:49 2011 -0500
.spec cosmetics
rebuild (qwt)
PyQwt.spec | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/PyQwt.spec b/PyQwt.spec
index 5e3ae73..f4eac07 100644
--- a/PyQwt.spec
+++ b/PyQwt.spec
@@ -1,6 +1,6 @@
Name: PyQwt
Version: 5.2.0
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Python bindings for Qwt
Group: Development/Languages
@@ -32,14 +32,12 @@ the Qt framework with widgets for scientific and engineering applications. It
provides a widget to plot 2-dimensional data and various widgets to display and
control bounded or unbounded floating point values.
-
%package devel
Summary: Files needed to build other bindings on PyQwt
Group: Development/Languages
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: PyQt4-devel
Requires: qwt-devel
-
%description devel
Files needed to build other bindings for Qwt C++ classes that inherit from
any of the PyQwt classes.
@@ -54,15 +52,15 @@ find qt4examples/ -name "*.py" | xargs chmod a-x
%build
QWTDIR=%{_includedir}/qwt
-cd configure
+pushd configure
%{__python} configure.py -I$QWTDIR -lqwt --disable-numarray --disable-numeric
-make %{?_smp_mflags}
+popd
+
+make %{?_smp_mflags} -C configure
%install
-cd configure
-make DESTDIR=%{buildroot} install
+make DESTDIR=%{buildroot} install -C configure
# move the generated pdf and html documentation to devel-doc directory
-cd ..
mkdir devel-doc
mv sphinx/build/latex/PyQwt.pdf devel-doc
rm sphinx/build/html/.buildinfo
@@ -91,6 +89,10 @@ rm -rf %{buildroot}/%{python_sitearch}/PyQt4/uic
%changelog
+* Tue Aug 09 2011 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-13
+- .spec cosmetics
+- rebuild (qwt)
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.2.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list