summaryrefslogtreecommitdiff
path: root/python-shed.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:29:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:29:44 +0000
commit33d99f2fd764cf551f1afca54ac1479ae77a0a77 (patch)
treebb8216e14f2ad67d9f68b4f799bd838894ab74aa /python-shed.spec
parentf4e509d8fc12c71aa9f574edadba475697854d2b (diff)
automatic import of python-shedopeneuler20.03
Diffstat (limited to 'python-shed.spec')
-rw-r--r--python-shed.spec24
1 files changed, 12 insertions, 12 deletions
diff --git a/python-shed.spec b/python-shed.spec
index c3ee2c1..ae6ad41 100644
--- a/python-shed.spec
+++ b/python-shed.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-shed
-Version: 2023.5.1
+Version: 2023.5.2
Release: 1
Summary: `shed` canonicalises Python code.
License: AGPL-3.0
URL: https://github.com/Zac-HD/shed
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/58/98/542ff5499a587eb2639f7bf30b6d413c8cddc3ad53e40917c8e90ffc3334/shed-2023.5.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1b/64/6cbe321f9961b6bf4bf33b3b6729e94c7ecd92e4f2604f62427e9eba8f1f/shed-2023.5.2.tar.gz
BuildArch: noarch
Requires: python3-autoflake
@@ -81,7 +81,7 @@ adding the following to your `.pre-commit-config.yaml`:
minimum_pre_commit_version: '2.9.0'
repos:
- repo: https://github.com/Zac-HD/shed
- rev: 2023.5.1
+ rev: 2023.5.2
hooks:
- id: shed
# args: [--refactor, --py39-plus]
@@ -184,7 +184,7 @@ adding the following to your `.pre-commit-config.yaml`:
minimum_pre_commit_version: '2.9.0'
repos:
- repo: https://github.com/Zac-HD/shed
- rev: 2023.5.1
+ rev: 2023.5.2
hooks:
- id: shed
# args: [--refactor, --py39-plus]
@@ -284,7 +284,7 @@ adding the following to your `.pre-commit-config.yaml`:
minimum_pre_commit_version: '2.9.0'
repos:
- repo: https://github.com/Zac-HD/shed
- rev: 2023.5.1
+ rev: 2023.5.2
hooks:
- id: shed
# args: [--refactor, --py39-plus]
@@ -316,7 +316,7 @@ Patch notes [can be found in `CHANGELOG.md`](https://github.com/Zac-HD/shed/blob
%prep
-%autosetup -n shed-2023.5.1
+%autosetup -n shed-2023.5.2
%build
%py3_build
@@ -330,20 +330,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -356,5 +356,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.5.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.5.2-1
- Package Spec generated