rpms/python-mwlib/devel python-mwlib.spec,1.4,1.5
Ian Weller
ianweller at fedoraproject.org
Fri Oct 24 00:15:06 UTC 2008
Author: ianweller
Update of /cvs/pkgs/rpms/python-mwlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17024
Modified Files:
python-mwlib.spec
Log Message:
Update to 0.8.5-1
Index: python-mwlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-mwlib/devel/python-mwlib.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-mwlib.spec 23 Aug 2008 04:36:59 -0000 1.4
+++ python-mwlib.spec 24 Oct 2008 00:14:36 -0000 1.5
@@ -1,7 +1,7 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-mwlib
-Version: 0.8.3
+Version: 0.8.5
Release: 1%{?dist}
Summary: MediaWiki conversion library for Python
@@ -22,25 +22,31 @@
Requires: tex(latex)
%endif
+
%description
mwlib is a Python library for parsing MediaWiki articles. It is
currently aimed at developers, who have a need to somehow handle
MediaWiki articles.
+
%prep
%setup -q -n mwlib-%{version}
%patch0 -p1
+
%build
CFLAGS="%{optflags}" %{__python} setup.py build
+
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
sed -i '/#! \/usr\/bin\/env python/d' %{buildroot}%{python_sitearch}/mwlib/*.py
+sed -i '/^#! -\*- .* -\*-$/d' %{buildroot}%{python_sitearch}/mwlib/*.py
chmod a-x %{buildroot}%{python_sitearch}/mwlib/snippets.txt
chmod 755 %{buildroot}%{python_sitearch}/mwlib/_mwscan.so
+
%clean
rm -rf %{buildroot}
@@ -53,6 +59,9 @@
%changelog
+* Thu Oct 23 2008 Ian Weller <ianweller at gmail.com> 0.8.5-1
+- Bump to 0.8.5
+
* Fri Aug 22 2008 Ian Weller <ianweller at gmail.com> 0.8.3-1
- Bump to 0.8.3
More information about the fedora-extras-commits
mailing list