X-Git-Url: http://git.onelab.eu/?p=pyaspects.git;a=blobdiff_plain;f=pyaspects.spec;h=6222921dd596e3b11241e7a5929295bce388ee47;hp=a490099c4599ec432cde7c435be3337cf13057b9;hb=refs%2Fheads%2Fmaster;hpb=026b2d163d63c59e18ec18aa84d47fb4f040310b diff --git a/pyaspects.spec b/pyaspects.spec index a490099..6222921 100644 --- a/pyaspects.spec +++ b/pyaspects.spec @@ -1,9 +1,11 @@ %define name pyaspects %define version 0.4.1 -%define taglevel 0 +%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} @@ -29,16 +31,28 @@ 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 - pyaspects-0.4.1-4 +- build tries to pull from onelab first as planet-lab is down + +* 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