14
0
forked from pool/python-unify

Accepting request 615417 from home:TheBlackCat:branches:devel:languages:python

- Include README.suse in package

OBS-URL: https://build.opensuse.org/request/show/615417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unify?expand=0&rev=3
This commit is contained in:
Todd R
2018-06-09 12:17:15 +00:00
committed by Git OBS Bridge
parent dc017c0d3a
commit a5d90821c5
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 9 12:16:49 UTC 2018 - toddrme2178@gmail.com
- Include README.suse in package
-------------------------------------------------------------------
Sat Jun 9 04:35:32 UTC 2018 - toddrme2178@gmail.com

View File

@@ -24,6 +24,7 @@ Summary: Modifies strings to use the same quotes
Url: https://github.com/myint/unify
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz
Source9: README.suse
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -45,6 +46,7 @@ avoid conflicts with the wdiff package.
%prep
%setup -q -n unify-%{version}
sed -i -e '/^#!\//, 1d' unify.py
cp %{SOURCE9} .
%build
%python_build
@@ -55,7 +57,7 @@ sed -i -e '/^#!\//, 1d' unify.py
mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
%files %{python_files}
%doc README.rst
%doc README.rst README.suse
%python3_only %{_bindir}/unify_quotes
%{python_sitelib}/*