Hello community,

here is the log from the commit of package rst2html5 for openSUSE:Factory 
checked in at 2017-04-28 10:45:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rst2html5 (Old)
 and      /work/SRC/openSUSE:Factory/.rst2html5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rst2html5"

Fri Apr 28 10:45:26 2017 rev:6 rq:489735 version:1.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rst2html5/rst2html5.changes      2017-02-15 
10:05:35.355096371 +0100
+++ /work/SRC/openSUSE:Factory/.rst2html5.new/rst2html5.changes 2017-04-28 
10:45:28.625322167 +0200
@@ -1,0 +2,15 @@
+Thu Apr 20 15:45:08 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 1.9.3
+  * Fix setup.py
+- Update to 1.9.2
+  * Fix conflict with docutils==0.13.1 rst2html5.py
+- Update to 1.9.1
+  * Fix install_requires in setup.py
+  * Update list of authors
+- Fix source url.
+- Remove upstream-included rst2html5-minimal_dependencies.patch
+- Implement update-alternatives to avoid conflict with 
+  python3-docutils.
+
+-------------------------------------------------------------------

Old:
----
  rst2html5-1.9.tar.gz
  rst2html5-minimal_dependencies.patch

New:
----
  rst2html5-1.9.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rst2html5.spec ++++++
--- /var/tmp/diff_new_pack.HHBmwL/_old  2017-04-28 10:45:30.573046873 +0200
+++ /var/tmp/diff_new_pack.HHBmwL/_new  2017-04-28 10:45:30.577046308 +0200
@@ -16,27 +16,33 @@
 #
 
 
+# tox for python3 seems to be broken due to too recent pluggy
+%bcond_with tests
+
 Name:           rst2html5
-Version:        1.9
+Version:        1.9.3
 Release:        0
 Summary:        RestructuredText to (X)HTML5
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://marianoguerra.github.io/rst2html5/
-Source0:        
https://pypi.python.org/packages/8b/57/3b40054908dbad97f515545695e1c92439cd71d294fa03957857c9d89db6/rst2html5-1.9.tar.gz
-Patch1:         rst2html5-minimal_dependencies.patch
+Source:         
https://files.pythonhosted.org/packages/source/r/rst2html5/rst2html5-%{version}.tar.gz
 BuildRequires:  fdupes
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
 BuildRequires:  python3-Genshi >= 0.7
 BuildRequires:  python3-Pygments >= 2.0.2
-BuildRequires:  python3-beautifulsoup4 >= 4.4.
-BuildRequires:  python3-devel
+BuildRequires:  python3-beautifulsoup4 >= 4.4
 BuildRequires:  python3-docutils >= 0.12
-BuildRequires:  python3-nose >= 1.3.7
-BuildRequires:  python3-setuptools
+%if %{with tests}
 BuildRequires:  python3-tox >= 2.3.1
+BuildRequires:  python3-nose >= 1.3.7
+%endif
 Requires:       python3-Genshi >= 0.7
 Requires:       python3-Pygments >= 2.0.2
 Requires:       python3-docutils >= 0.12
+Requires(post):   update-alternatives
+Requires(preun):  update-alternatives
 BuildArch:      noarch
 
 %description
@@ -47,27 +53,42 @@
 
 %prep
 %setup -q
-%patch1 -p1
 
 %build
 python3 setup.py build
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes -s %{buildroot}
+%fdupes %{buildroot}%{python3_sitelib}
+
+rm %{buildroot}%{_bindir}/rst2html5.py
+
+# To avoid conflicts with the python3-docutils package
+mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-rst2html5
+ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5
 
+%post
+update-alternatives --install %{_bindir}/rst2html5 rst2html5 
%{_bindir}/rst2html5-rst2html5 30
+
+%preun
+if [ ! -f %{_bindir}/rst2html5-rst2html5 ] ; then
+   update-alternatives --remove rst2html5 %{_bindir}/rst2html5-rst2html5
+fi
+
+%if %{with tests}
 %check
-# tox for python3 seems to be broken due to too recent pluggy
-# tox
+tox
+%endif
 
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS.rst  CHANGELOG.rst  LICENSE
 %{_bindir}/rst2html5
-%{python3_sitelib}/%{name}.py
-%dir %{python3_sitelib}/modules
-%{python3_sitelib}/modules/*
-%{python3_sitelib}/__pycache__/%{name}.cpython-*.pyc
-%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
+%{_bindir}/rst2html5-rst2html5
+%ghost %{_sysconfdir}/alternatives/rst2html5
+%{python3_sitelib}/rst2html5_.py
+%{python3_sitelib}/__pycache__/rst2html5_.*.pyc
+%{python3_sitelib}/modules/
+%{python3_sitelib}/rst2html5-%{version}-py*.egg-info
 
 %changelog

++++++ rst2html5-1.9.tar.gz -> rst2html5-1.9.3.tar.gz ++++++
++++ 7124 lines of diff (skipped)


Reply via email to