commit python-django-reversion for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-reversion for openSUSE:Factory checked in at 2019-04-30 13:01:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old) and /work/SRC/openSUSE:Factory/.python-django-reversion.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-django-reversion" Tue Apr 30 13:01:16 2019 rev:8 rq:697479 version:3.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes 2019-03-12 09:55:17.951515522 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-reversion.new.5536/python-django-reversion.changes 2019-04-30 13:01:19.814157133 +0200 @@ -1,0 +2,7 @@ +Wed Apr 24 12:34:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Do not mess around with doc/lang subpackages, the docs are + all online and the lang split actually breaks as the lang part + is hard-required for the python to work in most cases + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-reversion.spec ++++++ --- /var/tmp/diff_new_pack.URPt8l/_old 2019-04-30 13:01:20.642156886 +0200 +++ /var/tmp/diff_new_pack.URPt8l/_new 2019-04-30 13:01:20.646156885 +0200 @@ -28,34 +28,12 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION documentation requirements -BuildRequires: %{python_module Django} -BuildRequires: %{python_module Sphinx} -# /SECTION Requires: python-Django -Recommends: %{name}-lang = %{version} +Obsoletes: python-django-reversion-doc +Obsoletes: python-django-reversion-lang BuildArch: noarch %python_subpackages -%package lang -Summary: Translations for package %{name} -Group: System/Localization -Requires: %{name} = %{version} -Provides: %{name}-lang-all = %{version} -Supplements: %{name} -BuildArch: noarch - -%package doc -Summary: Documentation for %{name} -Group: Documentation/HTML -Requires: %{name} = %{version} - -%description doc -This package contains documentation files for %{name}. - -%description lang -Provides translations for the "%{name}" package. - %description Django-reversion is an extension to the Django web framework that provides version control for model instances. @@ -69,37 +47,14 @@ %build %python_build -if [ ! -d html ]; then - %python_exec setup.py develop --user - sphinx-build docs html - rm -r html/.buildinfo html/.doctrees -fi %install %python_install -%find_lang django -%python_expand grep -F "%{$python_sitelib}" django.lang > django_%{$python_bin_suffix}.lang %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst CHANGELOG.rst %license LICENSE %{python_sitelib}/* -%exclude %{python_sitelib}/reversion/locale - -%files -n %{name}-doc -%doc html - -%if %have_python2 && ! 0%{?skip_python2} -%files -n %{python2_prefix}-django-reversion-lang -f django_%{python2_bin_suffix}.lang -%license LICENSE -%{python2_sitelib}/reversion/locale -%endif - -%if %have_python3 && ! 0%{?skip_python3} -%files -n %{python3_prefix}-django-reversion-lang -f django_%{python3_bin_suffix}.lang -%license LICENSE -%{python3_sitelib}/reversion/locale -%endif %changelog
participants (1)
-
root