Accepting request 738425 from devel:languages:python
Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/request/show/738425 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.i18nmessageid?expand=0&rev=6
This commit is contained in:
commit
088514f865
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 14:50:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 10:09:51 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -23,8 +23,7 @@ Version: 4.3.1
|
||||
Release: 0
|
||||
Summary: Zope Location
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.python.org/pypi/zope.i18nmessageid
|
||||
URL: https://www.python.org/pypi/zope.i18nmessageid
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -41,9 +40,8 @@ In Zope3, i18nmessageid are special objects that has a structural i18nmessageid.
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Zope Location
|
||||
Group: Development/Languages/Python
|
||||
Provides: %{python_module zope.i18nmessageid-doc = %{version}}
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{python_module zope.i18nmessageid-doc = %{version}}
|
||||
|
||||
%description -n %{name}-doc
|
||||
This package contains documentation files for %{name}.
|
||||
@ -54,25 +52,24 @@ rm -rf zope.i18nmessageid.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# don't bother with development files
|
||||
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
|
||||
%fdupes -s %{buildroot}%{$python_sitearch}
|
||||
%fdupes %{buildroot}%{$python_sitearch}
|
||||
}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files -n %{name}-doc
|
||||
%defattr(-,root,root)
|
||||
%doc build/sphinx/html/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user