X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=pyaspects.spec;h=212c074cae68444ace49f000a60a08e25597e119;hb=104285b73d8ecf5d3667fc1cd5ecbce9227b67e8;hp=929f02ffece6c2bd9d92f73e26cdac9dc5794933;hpb=636077e3e3a62826b2e02466026c3c7c9af0b5ef;p=pyaspects.git diff --git a/pyaspects.spec b/pyaspects.spec index 929f02f..212c074 100644 --- a/pyaspects.spec +++ b/pyaspects.spec @@ -1,26 +1,23 @@ -# -# $Id$ -# -%define url $URL: https://svn.planet-lab.org/svn/pyaspects/trunk/pyaspects.spec $ - %define name pyaspects -%define version 0.1 -%define taglevel 1 +%define version 0.4.1 +%define taglevel 3 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + Summary: Aspect Oriented programming library for Python Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Libraries -Source0: pyaspects-0.1.tar.gz +Source0: pyaspects-0.4.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Packager: PlanetLab Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} Requires: python @@ -34,15 +31,27 @@ Aspect Oriented programming library for Python rm -rf $RPM_BUILD_ROOT %install -python setup.py install --root $RPM_BUILD_ROOT +/usr/bin/python setup.py install --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")/pyaspects +%{python_sitelib}/* %changelog +* Thu Feb 21 2013 Thierry Parmentelat - pyaspects-0.4.1-3 +- review specfile to avoid rpm-generated requirements towards /bin/python + +* Mon Nov 28 2011 Thierry Parmentelat - pyaspects-0.4.1-2 +- build from dual mirror + +* Mon Jan 24 2011 Thierry Parmentelat - pyaspects-0.4.1-1 +- no semantic change - just fixed specfile for git URL + +* Mon Jun 14 2010 Baris Metin - pyaspects-0.3-2 +- dummy tag to test module-tools' git support + * Fri Mar 5 2009 Baris Metin -- initial package \ No newline at end of file +- initial package