diff --git a/python-distutils-extra.spec b/python-distutils-extra.spec index 2e242d0..7638598 100644 --- a/python-distutils-extra.spec +++ b/python-distutils-extra.spec @@ -1,5 +1,5 @@ Name: python-distutils-extra -Version: 2.48 +Version: 2.49 Release: 1mamba Summary: Add support for i10n, documentation and icons to distutils Group: System/Libraries/Python @@ -21,13 +21,15 @@ Add support for i10n, documentation and icons to distutils. %endif %prep -%setup -q -n %{name} +%setup -q -c -a0 %build +cd work %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd work %{__python} setup.py install \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ @@ -39,12 +41,15 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} -f work/%{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/python_distutils_extra-*-py*.egg-info %{python_sitearch}/python_distutils_extra-*-py*.egg-info/* %changelog +* Sat Feb 11 2023 Automatic Build System 2.49-1mamba +- automatic version update by autodist + * Mon Jan 30 2023 Automatic Build System 2.48-1mamba - automatic version update by autodist