|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-translationstring
|
|
|
|
# spec file for package python-translationstring
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
|
|
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
@@ -26,8 +26,10 @@ License: SUSE-Repoze
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/Pylons/translationstring
|
|
|
|
URL: https://github.com/Pylons/translationstring
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/t/translationstring/translationstring-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/t/translationstring/translationstring-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
@@ -63,10 +65,10 @@ sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" docs/conf.py
|
|
|
|
rm -rf translationstring.egg-info
|
|
|
|
rm -rf translationstring.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
# Need package installed before building docs
|
|
|
|
# Need package installed before building docs
|
|
|
|
@@ -79,7 +81,8 @@ popd
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc CONTRIBUTORS.txt COPYRIGHT.txt README.rst
|
|
|
|
%doc CONTRIBUTORS.txt COPYRIGHT.txt README.rst
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/translationstring
|
|
|
|
|
|
|
|
%{python_sitelib}/translationstring-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}-doc
|
|
|
|
%files -n %{name}-doc
|
|
|
|
%doc docs/_build/html
|
|
|
|
%doc docs/_build/html
|
|
|
|
|