!6 Update package GitPython of version 3.1.27
From: @A_L_I_E_Z Reviewed-by: @shinwell_hu, @huangtianhua, @han-guangyu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
be3a57451a
Binary file not shown.
BIN
GitPython-3.1.27.tar.gz
Normal file
BIN
GitPython-3.1.27.tar.gz
Normal file
Binary file not shown.
@ -1,44 +1,49 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-GitPython
|
Name: python-GitPython
|
||||||
Version: 3.1.14
|
Version: 3.1.27
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Python Git Library
|
Summary: GitPython is a python library used to interact with Git repositories
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/gitpython-developers/GitPython
|
URL: https://github.com/gitpython-developers/GitPython
|
||||||
Source0: https://files.pythonhosted.org/packages/5f/f2/ea3242d97695451ab1521775a85253e002942d2c8f4519ae1172c0f5f979/GitPython-3.1.14.tar.gz
|
Source0: https://files.pythonhosted.org/packages/d6/39/5b91b6c40570dc1c753359de7492404ba8fe7d71af40b618a780c7ad1fc7/GitPython-3.1.27.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
GitPython is a python library used to interact with git repositories,\
|
GitPython is a python library used to interact with git repositories,
|
||||||
high-level like git-porcelain, or low-level like git-plumbing.
|
high-level like git-porcelain, or low-level like git-plumbing.
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-GitPython
|
%package -n python3-GitPython
|
||||||
Summary: Python Git Library
|
Summary: GitPython is a python library used to interact with Git repositories
|
||||||
Provides: python-GitPython
|
Provides: python-GitPython
|
||||||
BuildRequires: python3-devel
|
# Base build requires
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-devel
|
||||||
Requires: python3-gitdb
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
|
BuildRequires: python3-gitdb
|
||||||
|
# General requires
|
||||||
|
Requires: python3-gitdb
|
||||||
%description -n python3-GitPython
|
%description -n python3-GitPython
|
||||||
GitPython is a python library used to interact with git repositories,\
|
GitPython is a python library used to interact with git repositories,
|
||||||
high-level like git-porcelain, or low-level like git-plumbing.
|
high-level like git-porcelain, or low-level like git-plumbing.
|
||||||
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for GitPython
|
Summary: GitPython is a python library used to interact with Git repositories
|
||||||
Provides: python3-GitPython-doc
|
Provides: python3-GitPython-doc
|
||||||
%description help
|
%description help
|
||||||
GitPython is a python library used to interact with git repositories,\
|
GitPython is a python library used to interact with git repositories,
|
||||||
high-level like git-porcelain, or low-level like git-plumbing.
|
high-level like git-porcelain, or low-level like git-plumbing.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n GitPython-3.1.14
|
%autosetup -n GitPython-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -46,20 +51,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
@ -72,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 31 2022 OpenStack_SIG <openstack@openeuler.org> - 3.1.27-1
|
||||||
|
- Upgrade package python3-GitPython to version 3.1.27
|
||||||
|
|
||||||
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 3.1.14-2
|
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 3.1.14-2
|
||||||
- License compliance rectification
|
- License compliance rectification
|
||||||
|
|
||||||
@ -80,3 +88,4 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
* Mon Oct 26 2020 Jiachen Fan <fanjiachen3@huawei.com> - 3.1.11-1
|
* Mon Oct 26 2020 Jiachen Fan <fanjiachen3@huawei.com> - 3.1.11-1
|
||||||
- package init
|
- package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user