forked from pool/python-rnginline
Accepting request 807235 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/807235 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rnginline?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
d75934a3f5
commit
7a6d4870a7
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 19 09:27:46 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %python3_only -> %python_alternative
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 18 23:41:14 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Tue Dec 18 23:41:14 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rnginline
|
# spec file for package python-rnginline
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -60,6 +60,7 @@ into a single RELAX NG schema.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/rnginline
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -67,10 +68,16 @@ into a single RELAX NG schema.
|
|||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative rnginline
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative rnginline
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGELOG.rst README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%python3_only %{_bindir}/rnginline
|
%python_alternative %{_bindir}/rnginline
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user