Update to 2.0.0
This commit is contained in:
parent
3de8d77446
commit
a80fab3d0e
Binary file not shown.
BIN
iniconfig-2.0.0.tar.gz
Normal file
BIN
iniconfig-2.0.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-iniconfig
|
||||
Version: 1.1.1
|
||||
Release: 2
|
||||
Version: 2.0.0
|
||||
Release: 1
|
||||
Summary: iniconfig: brain-dead simple config-ini parsing
|
||||
License: MIT
|
||||
URL: http://github.com/RonnyPfannschmidt/iniconfig
|
||||
Source0: https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz
|
||||
BuildRequires: python3-pip python3-wheel python3-hatchling python3-hatch-vcs
|
||||
BuildArch: noarch
|
||||
Recommends: %{name}-help = %{version}-%{release}
|
||||
|
||||
@ -39,46 +40,21 @@ Provides: python3-iniconfig-doc
|
||||
%{_description}
|
||||
|
||||
%prep
|
||||
%autosetup -n iniconfig-1.1.1
|
||||
%autosetup -n iniconfig-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/lib64 ]; then
|
||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/bin ]; then
|
||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/sbin ]; then
|
||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
touch doclist.lst
|
||||
if [ -d usr/share/man ]; then
|
||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
%pyproject_install iniconfig==%{version}
|
||||
|
||||
%files -n python3-iniconfig -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_pkgdocdir}
|
||||
%files -n python3-iniconfig
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 26 2023 wulei <wu_lei@hoperun.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
|
||||
* Wed Jun 08 2022 liukuo <liukuo@kylinos.cn> - 1.1.1-2
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user