!11 Upgrade to 1.2.2
From: @chen-jan Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
058c28ce96
BIN
1.2.1.tar.gz
BIN
1.2.1.tar.gz
Binary file not shown.
BIN
freezegun-1.2.2.tar.gz
Normal file
BIN
freezegun-1.2.2.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-freezegun
|
Name: python-freezegun
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Let your Python tests travel through time
|
Summary: Let your Python tests travel through time
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/spulec/freezegun
|
URL: https://pypi.io/project/freezegun
|
||||||
Source0: https://github.com/spulec/freezegun/archive/refs/tags/%{version}.tar.gz
|
Source0: %{pypi_source freezegun}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
Simulate the datetime module with the python-freezegun library, allowing your python
|
Simulate the datetime module with the python-freezegun library, allowing your python
|
||||||
@ -61,13 +61,8 @@ 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
|
|
||||||
if [ -d usr/share/man ]; then
|
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
||||||
fi
|
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
@ -76,10 +71,10 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%files -n python3-freezegun -f filelist.lst
|
%files -n python3-freezegun -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
|
||||||
%{_docdir}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 30 2023 chenchen <chen_aka_jan@163.com> - 1.2.2-1
|
||||||
|
- Upgrade to 1.2.2
|
||||||
|
|
||||||
* Thu Jul 07 2022 xu_ping <xuping33@h-partners.com> - 1.2.1-1
|
* Thu Jul 07 2022 xu_ping <xuping33@h-partners.com> - 1.2.1-1
|
||||||
- Update to 1.2.1
|
- Update to 1.2.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user