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:
@@ -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
|
Sat Jun 9 04:35:32 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -24,6 +24,7 @@ Summary: Modifies strings to use the same quotes
|
|||||||
Url: https://github.com/myint/unify
|
Url: https://github.com/myint/unify
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz
|
||||||
|
Source9: README.suse
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -45,6 +46,7 @@ avoid conflicts with the wdiff package.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n unify-%{version}
|
%setup -q -n unify-%{version}
|
||||||
sed -i -e '/^#!\//, 1d' unify.py
|
sed -i -e '/^#!\//, 1d' unify.py
|
||||||
|
cp %{SOURCE9} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -55,7 +57,7 @@ sed -i -e '/^#!\//, 1d' unify.py
|
|||||||
mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
|
mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst README.suse
|
||||||
%python3_only %{_bindir}/unify_quotes
|
%python3_only %{_bindir}/unify_quotes
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user