From 3bfdeb75498669a3d072466ac4eefacea3e4723a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jul 04 2010 20:54:37 +0000 Subject: - Updated to new upsteam version 0.9.8 - Updated the spec file to reflect changes in the guidelines --- diff --git a/python-instant.spec b/python-instant.spec index a2e7d04..744d42c 100644 --- a/python-instant.spec +++ b/python-instant.spec @@ -1,19 +1,23 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%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-instant -Version: 0.9.6 -Release: 2%{?dist} +%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 - 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 - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 5aa4e92..16f98b8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2a18be88b391c3c4e021912e6fb9caea instant-0.9.6.tar.gz +e77edecc222bd2916947f9eca49ca131 instant-0.9.8.tar.gz