update version to 1.6.7
This commit is contained in:
parent
82e86776b5
commit
2acdf73cc6
@ -1,23 +1,31 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-texttable
|
Name: python-texttable
|
||||||
Version: 1.6.4
|
Version: 1.6.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python module for creating simple ASCII tables
|
Summary: Python module for creating simple ASCII tables
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/foutaise/texttable
|
URL: https://github.com/foutaise/texttable
|
||||||
Source0: https://github.com/foutaise/texttable/archive/v%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/e4/84/4686ee611bb020038375c5f11fe7b6b3bb94ee78614a1faba45effe51591/texttable-1.6.7.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python module for creating simple ASCII tables
|
Python module for creating simple ASCII tables
|
||||||
|
|
||||||
%package -n python3-texttable
|
%package -n python3-texttable
|
||||||
%{?python_provide:%python_provide python3-texttable}
|
|
||||||
Summary: Python module for creating simple ASCII tables
|
Summary: Python module for creating simple ASCII tables
|
||||||
BuildRequires: python3-devel, python3-setuptools, python3-pytest
|
Provides: python-texttable = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel,
|
||||||
|
BuildRequires: python3-setuptools,
|
||||||
|
BuildRequires: python3-pytest
|
||||||
%description -n python3-texttable
|
%description -n python3-texttable
|
||||||
Python module for creating simple ASCII tables
|
Python module for creating simple ASCII tables
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for texttable
|
||||||
|
Provides: python3-texttable-doc
|
||||||
|
%description help
|
||||||
|
Python module for creating simple ASCII tables
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n texttable-%{version}
|
%autosetup -n texttable-%{version}
|
||||||
|
|
||||||
@ -26,16 +34,49 @@ Python module for creating simple ASCII tables
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_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
|
||||||
|
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.txt ]; then cp -af README.txt %{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 .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
py.test-%{python3_version} --verbose tests.py
|
py.test-%{python3_version} --verbose tests.py
|
||||||
|
|
||||||
%files -n python3-texttable
|
%files -n python3-texttable -f filelist.lst
|
||||||
%doc PKG-INFO README.md
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
%files help -f doclist.lst
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 16 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.6.7-1
|
||||||
|
- Update package to version 1.6.7
|
||||||
|
|
||||||
* Tue Aug 02 2022 zhaoshuang <zhaoshuang@uniontech.com> - 1.6.4-1
|
* Tue Aug 02 2022 zhaoshuang <zhaoshuang@uniontech.com> - 1.6.4-1
|
||||||
- update package to 1.6.4
|
- update package to 1.6.4
|
||||||
|
|
||||||
|
|||||||
BIN
texttable-1.6.7.tar.gz
Normal file
BIN
texttable-1.6.7.tar.gz
Normal file
Binary file not shown.
BIN
v1.6.4.tar.gz
BIN
v1.6.4.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user