rpms/python-tempita/devel python-tempita.spec,1.9,1.10
Toshio くらとみ
toshio at fedoraproject.org
Sat Jun 26 08:27:15 UTC 2010
Author: toshio
Update of /cvs/pkgs/rpms/python-tempita/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29272
Modified Files:
python-tempita.spec
Log Message:
* Sat Jun 26 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4-3
- Cosmetic fixes -- BR python-setuptools instead of python-setuptools-devel
- Conditionalize python_sitelib definition
- trailing slash for directory in %files
Index: python-tempita.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tempita/devel/python-tempita.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- python-tempita.spec 26 Jul 2009 23:12:29 -0000 1.9
+++ python-tempita.spec 26 Jun 2010 08:27:15 -0000 1.10
@@ -1,8 +1,10 @@
+%if 0%{?fedora} <= 12 || 0%{?rhel} <= 5
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
Name: python-tempita
Version: 0.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A very small text templating language
Group: Development/Languages
@@ -12,7 +14,11 @@ Source0: http://pypi.python.org/p
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
+%if 0%{?fedora} < 13
BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
BuildRequires: python-nose
%description
@@ -30,7 +36,7 @@ Tempita is a small templating language f
%{__rm} -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
-
+
%clean
%{__rm} -rf %{buildroot}
@@ -42,11 +48,16 @@ nosetests
%files
%defattr(-,root,root,-)
%doc docs/*
-%{python_sitelib}/tempita
+%{python_sitelib}/tempita/
%{python_sitelib}/*.egg-info
%changelog
+* Sat Jun 26 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4-3
+- Cosmetic fixes -- BR python-setuptools instead of python-setuptools-devel
+- Conditionalize python_sitelib definition
+- trailing slash for directory in %%files
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list