14
0
forked from pool/python-unify

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

- Fix conflicts with wdiff.
  The "unify" executable has been renamed to "unify_quotes"

OBS-URL: https://build.opensuse.org/request/show/615330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unify?expand=0&rev=2
This commit is contained in:
Todd R
2018-06-09 04:40:50 +00:00
committed by Git OBS Bridge
parent d58e8c4328
commit dc017c0d3a
3 changed files with 14 additions and 2 deletions

2
README.suse Normal file
View File

@@ -0,0 +1,2 @@
Note that the "unify" executable has been renamed to "unify_quotes" to
avoid conflicts with the wdiff package.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 9 04:35:32 UTC 2018 - toddrme2178@gmail.com
- Fix conflicts with wdiff.
The "unify" executable has been renamed to "unify_quotes"
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 24 17:51:37 UTC 2018 - toddrme2178@gmail.com Thu May 24 17:51:37 UTC 2018 - toddrme2178@gmail.com

View File

@@ -37,7 +37,10 @@ BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
Modifies strings to all use the same (single/double) quote where possible Modifies strings to all use the same (single/double) quote where possible.
Note that the "unify" executable has been renamed to "unify_quotes" to
avoid conflicts with the wdiff package.
%prep %prep
%setup -q -n unify-%{version} %setup -q -n unify-%{version}
@@ -49,10 +52,11 @@ sed -i -e '/^#!\//, 1d' unify.py
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%python3_only %{_bindir}/unify %python3_only %{_bindir}/unify_quotes
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog