rpms/python-cheetah/devel python-cheetah.spec,1.6,1.7
Mike Bonnet (mikeb)
fedora-extras-commits at redhat.com
Mon Jan 8 19:40:13 UTC 2007
Author: mikeb
Update of /cvs/extras/rpms/python-cheetah/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8749
Modified Files:
python-cheetah.spec
Log Message:
use setuptools and install setuptools metadata
Index: python-cheetah.spec
===================================================================
RCS file: /cvs/extras/rpms/python-cheetah/devel/python-cheetah.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- python-cheetah.spec 11 Dec 2006 14:21:02 -0000 1.6
+++ python-cheetah.spec 8 Jan 2007 19:39:43 -0000 1.7
@@ -2,7 +2,7 @@
Name: python-cheetah
Version: 2.0
-Release: 0.3.rc7%{?dist}
+Release: 0.4.rc7%{?dist}
Summary: Template engine and code-generator
Group: Development/Libraries
@@ -13,6 +13,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
+BuildRequires: python-setuptools
%description
Cheetah is an open source template engine and code generation tool,
@@ -26,11 +27,13 @@
%build
export CFLAGS="$RPM_OPT_FLAGS"
+export CHEETAH_USE_SETUPTOOLS=1
%{__python} setup.py build
%install
rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+export CHEETAH_USE_SETUPTOOLS=1
+%{__python} setup.py install --single-version-externally-managed -O1 --skip-build --root %{buildroot}
%check
export PATH="%{buildroot}/%{_bindir}:$PATH"
@@ -85,7 +88,14 @@
%{python_sitelib}/Cheetah/Utils/optik/*.pyc
%{python_sitelib}/Cheetah/Utils/optik/*.pyo
+%dir %{python_sitelib}/Cheetah-%{version}rc7-*.egg-info
+%{python_sitelib}/Cheetah-%{version}rc7-*.egg-info/PKG-INFO
+%{python_sitelib}/Cheetah-%{version}rc7-*.egg-info/*.txt
+
%changelog
+* Mon Jan 8 2007 Mike Bonnet <mikeb at redhat.com> - 2.0-0.4.rc7
+- use setuptools and install setuptools metadata
+
* Sun Dec 10 2006 Mike Bonnet <mikeb at redhat.com> - 2.0-0.3.rc7
- rebuild against python 2.5
- remove obsolete python-abi Requires:
More information about the scm-commits
mailing list