From a27c3a6078ae4b4d6cd16d73c4e3e29ff39f2e1aa946dc31200c015338e9cb40 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 10 Apr 2013 13:21:34 +0000 Subject: [PATCH] - Fix spurious executable perms (README.rst) - Don't ship testsuite (scripts w/o sheban / fdupes warnings) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=2 --- python-PyGithub.changes | 6 ++++++ python-PyGithub.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-PyGithub.changes b/python-PyGithub.changes index 3d9840c..f8aac15 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 10 13:21:07 UTC 2013 - speilicke@suse.com + +- Fix spurious executable perms (README.rst) +- Don't ship testsuite (scripts w/o sheban / fdupes warnings) + ------------------------------------------------------------------- Wed Apr 10 13:09:56 UTC 2013 - speilicke@suse.com diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 4669330..82d3362 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -39,12 +39,14 @@ etc.) from Python scripts. %prep %setup -q -n PyGithub-%{version} +chmod -x README.rst %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +rm -r %{buildroot}%{python_sitelib}/github/tests # Don't ship testsuite #%%check #python setup.py test