rpms/python-instant/F-12 python-instant.spec,1.4,1.5 sources,1.3,1.4

Fabian Affolter fab at fedoraproject.org
Sun Jul 4 20:54:37 UTC 2010


Author: fab

Update of /cvs/pkgs/rpms/python-instant/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1995/F-12

Modified Files:
	python-instant.spec sources 
Log Message:
* Sat Jul 03 2010 Fabian Affolter <fabian at bernewireless.net> - 0.9.8-1
- Updated to new upsteam version 0.9.8
- Updated the spec file to reflect changes in the guidelines



Index: python-instant.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-instant/F-12/python-instant.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- python-instant.spec	26 Jul 2009 20:28:46 -0000	1.4
+++ python-instant.spec	4 Jul 2010 20:54:36 -0000	1.5
@@ -1,19 +1,23 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-Name:           python-instant
-Version:        0.9.6
-Release:        2%{?dist}
+%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
+
+%global srcname instant
+
+Name:           python-%{srcname}
+Version:        0.9.8
+Release:        1%{?dist}
 Summary:        Python module for instant inlining of C and C++ code
 
 Group:          Applications/Engineering
 License:        BSD
 URL:            http://www.fenics.org/wiki/Instant
-Source0:        http://www.fenics.org/pub/software/instant/v0.9/instant-%{version}.tar.gz
+Source0:        http://launchpad.net/instant/trunk/%{version}/+download/%{srcname}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python
-BuildRequires:  python-setuptools-devel
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
 
 
 %description
@@ -23,16 +27,16 @@ and Distutils. 
 
 
 %prep
-%setup -q -n instant-%{version}
+%setup -q -n %{srcname}-%{version}
 chmod 0644 tests/*
 
 %build
-python ./setup.py build
+%{__python} setup.py build
 
 
 %install
 rm -rf %{buildroot}
-python ./setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 
 %clean
@@ -44,11 +48,15 @@ rm -rf %{buildroot}
 %doc AUTHORS ChangeLog LICENSE RELEASENOTES doc/html_reference/ tests/
 %{_mandir}/man*/*.1*
 %{_bindir}/instant*
-%{python_sitelib}/instant/
-%{python_sitelib}/*.egg-info
+%{python_sitelib}/%{srcname}/
+%{python_sitelib}/%{srcname}*.egg-info
 
 
 %changelog
+* Sat Jul 03 2010 Fabian Affolter <fabian at bernewireless.net> - 0.9.8-1
+- Updated to new upsteam version 0.9.8
+- Updated the spec file to reflect changes in the guidelines
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-instant/F-12/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	24 Mar 2009 22:56:59 -0000	1.3
+++ sources	4 Jul 2010 20:54:36 -0000	1.4
@@ -1 +1 @@
-2a18be88b391c3c4e021912e6fb9caea  instant-0.9.6.tar.gz
+e77edecc222bd2916947f9eca49ca131  instant-0.9.8.tar.gz



More information about the scm-commits mailing list