From 6c74d27cbfbb78216f71a4aeb03dd596dbdbae334cf8933907b8eeb6a14c72c4 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 3 May 2018 16:34:06 +0000 Subject: [PATCH] Accepting request 603820 from home:alarrosa:branches:devel:languages:python - Run spec_cleaner OBS-URL: https://build.opensuse.org/request/show/603820 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyRIC?expand=0&rev=2 --- python-PyRIC.changes | 5 +++++ python-PyRIC.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-PyRIC.changes b/python-PyRIC.changes index 8bfb848..192ee88 100644 --- a/python-PyRIC.changes +++ b/python-PyRIC.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 3 15:38:23 UTC 2018 - alarrosa@suse.com + +- Run spec_cleaner + ------------------------------------------------------------------- Thu May 3 09:39:31 UTC 2018 - alarrosa@suse.com diff --git a/python-PyRIC.spec b/python-PyRIC.spec index 037c262..3631071 100644 --- a/python-PyRIC.spec +++ b/python-PyRIC.spec @@ -23,14 +23,13 @@ Release: 0 Summary: Python Wireless Library License: GPL-3.0-only Group: Development/Languages/Python -Url: http://wraith-wireless.github.io/PyRIC/ +URL: http://wraith-wireless.github.io/PyRIC/ Source: https://files.pythonhosted.org/packages/source/P/PyRIC/PyRIC-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -40,7 +39,7 @@ programmatically in Python. %prep %setup -q -n PyRIC-%{version} -find . -exec grep "^\#\!/usr/bin/env python" "{}" \; -print -exec sed -i -e '1{\,^#!/usr/bin/env python,d}' "{}" \; +find . -exec grep "^\#\!%{_bindir}/env python" "{}" \; -print -exec sed -i -e '1{\,^#!%{_bindir}/env python,d}' "{}" \; %build %python_build @@ -50,7 +49,6 @@ find . -exec grep "^\#\!/usr/bin/env python" "{}" \; -print -exec sed -i -e '1{\ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %doc CHANGES README.md %license LICENSE %{python_sitelib}/*