!11 Update package
From: @Wangjunqi123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
dfeba1fdf4
@ -13,7 +13,7 @@ new file mode 100644
|
||||
index 0000000..e88d95f
|
||||
--- /dev/null
|
||||
+++ b/setup.py
|
||||
@@ -0,0 +1,71 @@
|
||||
@@ -0,0 +1,69 @@
|
||||
+# -*- coding: utf-8 -*-
|
||||
+#
|
||||
+# Copyright (C) 2021 Vinay Sajip.
|
||||
@ -71,16 +71,14 @@ index 0000000..e88d95f
|
||||
+ 'Programming Language :: Python :: 3.8',
|
||||
+ 'Programming Language :: Python :: 3.9',
|
||||
+ 'Programming Language :: Python :: 3.10',
|
||||
+ 'Programming Language :: Python :: 3.11',
|
||||
+ 'Topic :: Software Development',
|
||||
+ ],
|
||||
+ platforms='any',
|
||||
+ packages=[
|
||||
+ 'distlib'
|
||||
+ ],
|
||||
+ package_data={
|
||||
+ 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe',
|
||||
+ 't64-arm.exe', 'w64-arm.exe'],
|
||||
+ },
|
||||
+ include_package_data = True,
|
||||
+ cmdclass={
|
||||
+ 'test': TestCommand,
|
||||
+ },
|
||||
|
||||
Binary file not shown.
BIN
distlib-0.3.6.tar.gz
Normal file
BIN
distlib-0.3.6.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-distlib
|
||||
Version: 0.3.5
|
||||
Version: 0.3.6
|
||||
Release: 1
|
||||
Summary: A library of packaging functionality
|
||||
License: Python-2.0
|
||||
URL: https://github.com/pypa/distlib
|
||||
Source0: https://files.pythonhosted.org/packages/31/d5/e2aa0aa3918c8d88c4c8e4ebbc50a840e101474b98cd83d3c1712ffe5bb4/distlib-0.3.5.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/58/07/815476ae605bcc5f95c87a62b95e74a1bce0878bc7a3119bc2bf4178f175/distlib-0.3.6.tar.gz
|
||||
Patch0: 0001-add-setup.py.patch
|
||||
BuildArch: noarch
|
||||
|
||||
@ -15,7 +15,7 @@ basis for third-party packaging tools.
|
||||
|
||||
%package -n python3-distlib
|
||||
Summary: A library of packaging functionality
|
||||
Provides: python-distlib
|
||||
Provides: python-distlib = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%description -n python3-distlib
|
||||
@ -30,8 +30,7 @@ A library of packaging functionality which is intended to be used as the
|
||||
basis for third-party packaging tools.
|
||||
|
||||
%prep
|
||||
%autosetup -n distlib-0.3.5
|
||||
%patch0
|
||||
%autosetup -n distlib-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -43,6 +42,9 @@ 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
|
||||
@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.3.6-1
|
||||
- Update package to version 0.3.6
|
||||
|
||||
* Thu Aug 04 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.3.5-1
|
||||
- update to 0.3.5
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user