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>
|
Fri Apr 5 10:09:51 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -23,8 +23,7 @@ Version: 4.3.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Zope Location
|
Summary: Zope Location
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
URL: https://www.python.org/pypi/zope.i18nmessageid
|
||||||
Url: http://www.python.org/pypi/zope.i18nmessageid
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -41,9 +40,8 @@ In Zope3, i18nmessageid are special objects that has a structural i18nmessageid.
|
|||||||
|
|
||||||
%package -n %{name}-doc
|
%package -n %{name}-doc
|
||||||
Summary: Zope Location
|
Summary: Zope Location
|
||||||
Group: Development/Languages/Python
|
|
||||||
Provides: %{python_module zope.i18nmessageid-doc = %{version}}
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Provides: %{python_module zope.i18nmessageid-doc = %{version}}
|
||||||
|
|
||||||
%description -n %{name}-doc
|
%description -n %{name}-doc
|
||||||
This package contains documentation files for %{name}.
|
This package contains documentation files for %{name}.
|
||||||
@ -54,25 +52,24 @@ rm -rf zope.i18nmessageid.egg-info
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%python_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
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# don't bother with development files
|
# don't bother with development files
|
||||||
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
|
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
|
||||||
%fdupes -s %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_exec setup.py 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_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc build/sphinx/html/
|
%doc build/sphinx/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user