Setting tag pyaspects-0.4.1-4
[pyaspects.git] / pyaspects.spec
index df24494..6222921 100644 (file)
@@ -1,26 +1,23 @@
-#
-# $Id$
-#
-%define url $URL: https://svn.planet-lab.org/svn/pyaspects/trunk/pyaspects.spec $
-
 %define name pyaspects
-%define version 0.3
-%define taglevel 1
+%define version 0.4.1
+%define taglevel 4
 
 %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.3.tar.gz
+Source0: pyaspects-0.4.1.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 Packager: PlanetLab <devel@planet-lab.org>
 Distribution: PlanetLab %{plrelease}
-URL: %(echo %{url} | cut -d ' ' -f 2)
+URL: %{SCMURL}
 
 Requires: python
 
@@ -34,15 +31,30 @@ 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,-)
-/usr
+%{python_sitelib}/*
 
 %changelog
+* Sun Jul 10 2016 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyaspects-0.4.1-4
+- build tries to pull from onelab first as planet-lab is down
+
+* Thu Feb 21 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyaspects-0.4.1-3
+- review specfile to avoid rpm-generated requirements towards /bin/python
+
+* Mon Nov 28 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyaspects-0.4.1-2
+- build from dual mirror
+
+* Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyaspects-0.4.1-1
+- no semantic change - just fixed specfile for git URL
+
+* Mon Jun 14 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pyaspects-0.3-2
+- dummy tag to test module-tools' git support
+
 * Fri Mar 5 2009 Baris Metin <tmetin@sophia.inria.fr>
-- initial package
\ No newline at end of file
+- initial package