rpms/python-turbojson/F-7 .cvsignore, 1.2, 1.3 python-turbojson.spec, 1.2, 1.3 sources, 1.2, 1.3

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Sun Oct 7 00:51:54 UTC 2007


Author: lmacken

Update of /cvs/pkgs/rpms/python-turbojson/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8748

Modified Files:
	.cvsignore python-turbojson.spec sources 
Log Message:
1.1


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-turbojson/F-7/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	6 Oct 2006 06:04:14 -0000	1.2
+++ .cvsignore	7 Oct 2007 00:51:21 -0000	1.3
@@ -1 +1 @@
-TurboJson-0.9.9-py2.4.egg
+TurboJson-1.1.tar.gz


Index: python-turbojson.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-turbojson/F-7/python-turbojson.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-turbojson.spec	9 Dec 2006 04:42:00 -0000	1.2
+++ python-turbojson.spec	7 Oct 2007 00:51:21 -0000	1.3
@@ -4,17 +4,20 @@
 %define module turbojson
 
 Name:           python-turbojson
-Version:        0.9.9
-Release:        3%{?dist}
+Version:        1.1
+Release:        2%{?dist}
 Summary:        Python template plugin that supports json
 
 Group:          Development/Languages
 License:        MIT
-URL:            http://www.turbogears.org/docs/plugins/template.html
-Source0:        http://files.turbogears.org/eggs/TurboJson-%{version}-py2.4.egg
+URL:            http://cheeseshop.python.org/pypi/TurboJson
+Source0:        http://pypi.python.org/packages/source/T/TurboJson/TurboJson-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
+BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
+
 %description
 This package provides a template engine plugin, allowing you
 to easily use Json with TurboGears, Buffet or other systems
@@ -22,20 +25,17 @@
 
 
 %prep
-%setup -q -c
-
+%setup -q -n TurboJson-%{version}
 
 %build
+%{__python} setup.py build
 
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{python_sitelib}/%{module}
-mkdir -p %{buildroot}%{python_sitelib}/%{module}/tests
-install -p -m 0644 %{module}/*.py %{buildroot}%{python_sitelib}/%{module}
-install -p -m 0644 %{module}/tests/*.py %{buildroot}%{python_sitelib}/%{module}/tests
-mkdir -p %{buildroot}%{python_sitelib}/TurboJson-%{version}-py%{pyver}.egg-info
-install -p -m 0644 EGG-INFO/* %{buildroot}%{python_sitelib}/TurboJson-%{version}-py%{pyver}.egg-info
+%{__python} setup.py install --skip-build --root=%{buildroot} \
+    --single-version-externally-managed
+
 
 %clean
 rm -rf %{buildroot}
@@ -44,10 +44,18 @@
 %files
 %defattr(-,root,root,-)
 %{python_sitelib}/%{module}/
-%{python_sitelib}/TurboJson-%{version}-py%{pyver}.egg-info
+%{python_sitelib}/TurboJson-%{version}-py%{pyver}.egg-info/
 
 
 %changelog
+* Wed Oct  3 2007 Toshio Kuratomi <a.badger at gmail.com> 1.1-2
+- BuildRequire python-devel and setuptools-devel
+- Use the setup.py script to build and install
+
+* Wed Oct  3 2007 Luke Macken <lmacken at redhat.com> 1.1-1
+- 1.1
+- Update URL and Source
+
 * Fri Dec  8 2006 Luke Macken <lmacken at redhat.com> 0.9.9-3
 - Rebuild for new python
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-turbojson/F-7/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	6 Oct 2006 06:04:14 -0000	1.2
+++ sources	7 Oct 2007 00:51:21 -0000	1.3
@@ -1 +1 @@
-d8053e4b4e7920305bb6a96bfba23164  TurboJson-0.9.9-py2.4.egg
+4c5cd655a4f271d3a29e5eac49808754  TurboJson-1.1.tar.gz




More information about the fedora-extras-commits mailing list