diff --git a/python-babel.spec b/python-babel.spec index 124d3a9..18bafca 100644 --- a/python-babel.spec +++ b/python-babel.spec @@ -1,24 +1,19 @@ Name: python-babel Version: 2.8.0 -Release: 1mamba +Release: 2mamba Summary: Library for internationalizing Python applications Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://babel.edgewall.org/ +URL: https://babel.edgewall.org/ Source: https://pypi.debian.net/Babel/Babel-%{version}.tar.gz -#Source: http://ftp.edgewall.com/pub/babel/Babel-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(pytz) +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython3-devel >= 3.7.4 -Requires: python >= %python_version -Requires: python-setuptools -Provides: python-babel-tool -Obsoletes: python-babel-tool -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description @@ -55,7 +50,7 @@ sed -i -e '/^#!/,1d' babel/messages/frontend.py --single-version-externally-managed \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %if 0%{?with_pyver} mv %{buildroot}%{_bindir}/pybabel %{buildroot}%{_bindir}/pybabel-%{?pyappend} @@ -67,9 +62,14 @@ sed -i "s|%{_bindir}/pybabel|%{_bindir}/pybabel-%{?pyappend}|" %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/Babel-%{version}-py*.egg-info +%{python_sitearch}/Babel-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog +* Sat Apr 17 2021 Silvan Calarco 2.8.0-2mamba +- rebuilt with distdeps + * Sat Jan 04 2020 Automatic Build System 2.8.0-1mamba - automatic version update by autodist