rebuilt with distdeps [release 1.5.0-2mamba;Fri Apr 09 2021]
This commit is contained in:
parent
2a89b75807
commit
4f61677fc3
@ -1,6 +1,6 @@
|
||||
Name: python-distro
|
||||
Version: 1.5.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: An OS platform information API
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,10 +10,9 @@ URL: https://github.com/nir0s/distro
|
||||
Source: https://pypi.debian.net/distro/distro-%{version}.tar.gz
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -37,7 +36,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if "%{?pyappend}" != "py3"
|
||||
rm -f %{buildroot}%{_bindir}/distro
|
||||
@ -46,9 +45,14 @@ sed -i "/\/usr\/bin\/distro/d" %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/distro-%{version}-py*.egg-info
|
||||
%{python_sitearch}/distro-%{version}-py*.egg-info/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
* Sun Apr 26 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user