commit python-rnginline for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-rnginline for 
openSUSE:Factory checked in at 2020-05-19 14:57:48

Comparing /work/SRC/openSUSE:Factory/python-rnginline (Old)
 and  /work/SRC/openSUSE:Factory/.python-rnginline.new.2738 (New)


Package is "python-rnginline"

Tue May 19 14:57:48 2020 rev:3 rq:807279 version:0.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-rnginline/python-rnginline.changes
2018-12-24 11:46:23.713186339 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-rnginline.new.2738/python-rnginline.changes  
2020-05-19 14:57:51.733317914 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:46 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-rnginline.spec ++
--- /var/tmp/diff_new_pack.2Z3kz3/_old  2020-05-19 14:57:54.289323579 +0200
+++ /var/tmp/diff_new_pack.2Z3kz3/_new  2020-05-19 14:57:54.293323589 +0200
@@ -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 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/rnginline
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %if %{with test}
@@ -67,10 +68,16 @@
 %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




commit python-rnginline for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-rnginline for 
openSUSE:Factory checked in at 2018-12-24 11:46:22

Comparing /work/SRC/openSUSE:Factory/python-rnginline (Old)
 and  /work/SRC/openSUSE:Factory/.python-rnginline.new.28833 (New)


Package is "python-rnginline"

Mon Dec 24 11:46:22 2018 rev:2 rq:659830 version:0.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-rnginline/python-rnginline.changes
2017-09-11 16:18:32.772469705 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-rnginline.new.28833/python-rnginline.changes 
2018-12-24 11:46:23.713186339 +0100
@@ -1,0 +2,10 @@
+Tue Dec 18 23:41:14 UTC 2018 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---
+Tue Dec  4 12:53:54 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-rnginline.spec ++
--- /var/tmp/diff_new_pack.CO0Pa1/_old  2018-12-24 11:46:24.229185886 +0100
+++ /var/tmp/diff_new_pack.CO0Pa1/_new  2018-12-24 11:46:24.233185882 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rnginline
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,8 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,15 +21,23 @@
 Name:   python-rnginline
 Version:0.0.2
 Release:0
+Summary:Python libary to flatten multi-file RELAX NG schemas
 License:Apache-2.0
-Summary:Flatten multi-file RELAX NG schemas
-Url:https://github.com/h4l/rnginline
 Group:  Development/Languages/Python
+URL:https://github.com/h4l/rnginline
 Source: 
https://files.pythonhosted.org/packages/source/r/rnginline/rnginline-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  fdupes
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-docopt
+Requires:   python-lxml
+Requires:   python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+Suggests:   python-coverage
+Suggests:   python-mock
+Suggests:   python-pytest >= 2.6.4
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module docopt}
 BuildRequires:  %{python_module lxml}
@@ -36,16 +45,6 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
 %endif
-Requires:   python-docopt
-Requires:   python-lxml
-Requires:   python-six
-Suggests:   python-pytest >= 2.6.4
-Suggests:   python-mock
-Suggests:   python-coverage
-BuildArch:  noarch
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-
 %python_subpackages
 
 %description
@@ -69,8 +68,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE.txt README.rst
+%license LICENSE.txt
+%doc CHANGELOG.rst README.rst
 %python3_only %{_bindir}/rnginline
 %{python_sitelib}/*