summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:13:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:13:13 +0000
commitfcdf5b72d77cd5abc545bc33d55308c2e7f29b85 (patch)
tree6c2a92bd532fe4cea5995922a26ab6371b664974
parent13c7723765089e0620aa809034c750a463c4b62f (diff)
automatic import of python-cfn-lint-axopeneuler20.03
-rw-r--r--python-cfn-lint-ax.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-cfn-lint-ax.spec b/python-cfn-lint-ax.spec
index 3be16ec..3adf761 100644
--- a/python-cfn-lint-ax.spec
+++ b/python-cfn-lint-ax.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Rules for cfn lint.
License: MIT License
URL: https://github.com/aexeagmbh/cfn-lint-rules
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b5/42/420fe4fe1c5abe54d05bdbba74bf9cdbfbde778f13394b722dfad61059fc/cfn_lint_ax-0.0.9.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b5/42/420fe4fe1c5abe54d05bdbba74bf9cdbfbde778f13394b722dfad61059fc/cfn_lint_ax-0.0.9.tar.gz
BuildArch: noarch
Requires: python3-cfn-lint
@@ -35,7 +35,7 @@ Provides: python3-cfn-lint-ax-doc
Additional rules for [cfn-lint](https://github.com/aws-cloudformation/cfn-lint).
%prep
-%autosetup -n cfn-lint-ax-0.0.9
+%autosetup -n cfn_lint_ax-0.0.9
%build
%py3_build
@@ -49,20 +49,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 .
@@ -75,5 +75,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.9-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.9-1
- Package Spec generated