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
This commit is contained in:
2018-05-03 16:34:06 +00:00
committed by Git OBS Bridge
parent 4d34c4f58b
commit 6c74d27cbf
2 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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}/*