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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -60,6 +60,7 @@ into a single RELAX NG schema.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/rnginline
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
@@ -67,10 +68,16 @@ into a single RELAX NG schema.
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative rnginline
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative rnginline
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%python3_only %{_bindir}/rnginline
|
||||
%python_alternative %{_bindir}/rnginline
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user