kim27 pushed to python-pylons (epel7). "Add %{python_sitelib}/test_files(warning)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 27 22:37:53 UTC 2015


>From b63c5314cfd70c34e92557516060892c226ded51 Mon Sep 17 00:00:00 2001
From: Koji <koji at fedoraproject.org>
Date: Sun, 25 Aug 2013 23:41:20 +0800
Subject: Add %{python_sitelib}/test_files(warning)


diff --git a/python-pylons.spec b/python-pylons.spec
index f79b046..0daffe2 100644
--- a/python-pylons.spec
+++ b/python-pylons.spec
@@ -53,6 +53,7 @@ website development in Python easy. Several key points:
 
 %install
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
+sed -i -e 's|/usr/bin/env python|%{__python}|g' *.py
 
 %check
 #PYTHONPATH=$(pwd) nosetests -v
@@ -61,6 +62,7 @@ website development in Python easy. Several key points:
 %doc CHANGELOG LICENSE README.txt
 %{python_sitelib}/pylons
 %{python_sitelib}/Pylons-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/test_files
 
 %changelog
 * Mon Aug 26 2013 Christopher Meng <rpm at cicku.me> - 1.0.1-1
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-pylons.git/commit/?h=epel7&id=b63c5314cfd70c34e92557516060892c226ded51


More information about the scm-commits mailing list