summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 23:00:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 23:00:56 +0000
commita20023a84119430c3e11fbd0bbb9e4a4ebc88a12 (patch)
treebbcaf722d6ff6cbc84d5fcf1ed9257f9e3c62f38
parent13d1c525b6e0b13c81fc81d2e46c6c4c08ccbacf (diff)
automatic import of python-babelgladeextractoropeneuler20.03
-rw-r--r--python-babelgladeextractor.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-babelgladeextractor.spec b/python-babelgladeextractor.spec
index cf5457f..44da3be 100644
--- a/python-babelgladeextractor.spec
+++ b/python-babelgladeextractor.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Babel l10n support for Glade, GtkBuilder, and .desktop files
License: BSD
URL: https://github.com/GNOME-Keysign/babel-glade
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/92/d1/322c28eec415ac3469edf3293958b4a57e7028cb78c5eaa6cd010cffa380/BabelGladeExtractor-0.7.0.tar.bz2
+Source0: https://mirrors.aliyun.com/pypi/web/packages/92/d1/322c28eec415ac3469edf3293958b4a57e7028cb78c5eaa6cd010cffa380/BabelGladeExtractor-0.7.0.tar.bz2
BuildArch: noarch
@@ -244,7 +244,7 @@ attributes appropriately when it extracts strings for translation.
[pocontext]: https://www.gnu.org/software/gettext/manual/html_node/Contexts.html#Contexts
%prep
-%autosetup -n BabelGladeExtractor-0.7.0
+%autosetup -n BabelGladeExtractor.tar-0.7.0
%build
%py3_build
@@ -258,20 +258,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 .
@@ -284,5 +284,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
- Package Spec generated