14
0

- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.deprecation?expand=0&rev=14
This commit is contained in:
2019-10-14 14:50:42 +00:00
committed by Git OBS Bridge
parent 618cd37b10
commit 1ba352c931
2 changed files with 14 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:50:28 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 4 16:31:54 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Thu Apr 4 16:31:54 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -23,16 +23,15 @@ Version: 4.4.0
Release: 0 Release: 0
Summary: Zope Deprecation Infrastructure Summary: Zope Deprecation Infrastructure
License: ZPL-2.1 License: ZPL-2.1
Group: Development/Languages/Python URL: https://pypi.python.org/pypi/zope.deprecation
Url: https://pypi.python.org/pypi/zope.deprecation
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
# SECTION documentation requirements
BuildRequires: %{python_module Sphinx}
# /SECTION
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
# SECTION documentation requirements
BuildRequires: %{python_module Sphinx}
# /SECTION
%python_subpackages %python_subpackages
%description %description
@@ -44,7 +43,6 @@ previously mentioned Python objects.
%package -n %{name}-doc %package -n %{name}-doc
Summary: Zope 3 Deprecation Infrastructure Summary: Zope 3 Deprecation Infrastructure
Group: Development/Languages/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
Provides: %{python_module zope.deprecation-doc = %{version}} Provides: %{python_module zope.deprecation-doc = %{version}}
@@ -57,22 +55,21 @@ rm -rf zope.deprecation.egg-info
%build %build
%python_build %python_build
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install %install
%python_install %python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py -q test %python_exec setup.py -q test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %doc CHANGES.rst COPYRIGHT.txt README.rst
%python_sitelib/* %{python_sitelib}/*
%files -n %{name}-doc %files -n %{name}-doc
%defattr(-,root,root,-)
%doc build/sphinx/html/ %doc build/sphinx/html/
%changelog %changelog