devel/python-HTMLgen python-HTMLgen.spec,1.8,1.9
Ignacio Vazquez-Abrams (ivazquez)
fedora-extras-commits at redhat.com
Tue Apr 5 11:23:50 UTC 2005
Author: ivazquez
Update of /cvs/extras/devel/python-HTMLgen
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22411/python-HTMLgen
Modified Files:
python-HTMLgen.spec
Log Message:
- Added python to BuildRequires
- Removed versioning code for now
Index: python-HTMLgen.spec
===================================================================
RCS file: /cvs/extras/devel/python-HTMLgen/python-HTMLgen.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- python-HTMLgen.spec 30 Mar 2005 20:20:43 -0000 1.8
+++ python-HTMLgen.spec 5 Apr 2005 11:23:48 -0000 1.9
@@ -1,16 +1,10 @@
-%{!?pyver: %define pyver %(%{__python} -c 'import sys;print(sys.version[0:3])')}%define mainpyver %(%{__python} -c 'import sys;print(sys.version[0:3])')
-%{!?python_sitelib: %define python_sitelib %(%{__python}%{pyver} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?pydir: %define pydir %(%{__python}%{pyver} -c "from distutils.sysconfig import get_config_vars; print get_config_vars()['LIBDEST']")}
-
-%if "%{pyver}" == "%{mainpyver}"
-%define name python-HTMLgen
-%else
-%define name python%{pyver}-HTMLgen
-%endif
+%{!?pyver: %define pyver %(%{__python} -c 'import sys;print(sys.version[0:3])')}
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pydir: %define pydir %(%{__python} -c "from distutils.sysconfig import get_config_vars; print get_config_vars()['LIBDEST']")}
-Name: %name
+Name: python-HTMLgen
Version: 2.2.2
-Release: 6.fc4
+Release: 7.fc4
Summary: A class library for the generation of HTML documents
Group: Development/Libraries
@@ -19,9 +13,8 @@
Source0: http://starship.python.net/crew/friedrich/HTMLgen.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-abi = %{pyver}
+BuildRequires: python
Requires: python-abi = %{pyver}
-Provides: python%{pyver}-HTMLgen = %{version}
BuildArch: noarch
%description
@@ -40,8 +33,8 @@
for file in HTMLgen.py HTMLcolors.py HTMLutil.py HTMLcalendar.py barchart.py colorcube.py imgsize.py NavLinks.py Formtools.py ImageH.py ImageFileH.py ImagePaletteH.py GifImagePluginH.py JpegImagePluginH.py PngImagePluginH.py; do
install -m 0644 $file $RPM_BUILD_ROOT%{python_sitelib}
done
-%{__python}%{pyver} %{pydir}/compileall.py $RPM_BUILD_ROOT%{python_sitelib}
-%{__python}%{pyver} -O %{pydir}/compileall.py $RPM_BUILD_ROOT%{python_sitelib}
+%{__python} %{pydir}/compileall.py $RPM_BUILD_ROOT%{python_sitelib}
+%{__python} -O %{pydir}/compileall.py $RPM_BUILD_ROOT%{python_sitelib}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,6 +45,10 @@
%{python_sitelib}/*.py[co]
%changelog
+* Tue Apr 5 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.2.2-7.fc4
+- Added python to BuildRequires
+- Removed versioning code for now
+
* Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.2.2-6.fc4
- Added disttag
More information about the scm-commits
mailing list