summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 01:34:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 01:34:33 +0000
commit4f98045a86802616dd42a756e4a86638a7185c8d (patch)
tree257438fa5e7232e6e2f55fb13b108d3f666d1eff
parent3a3a44b9bf5e78ca40f35c96fcf8a9cf30a84bc4 (diff)
automatic import of python-barrilopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-barril.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 72d6644..4e9d5ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/barril-1.17.0.tar.gz
+/barril-1.18.0.tar.gz
diff --git a/python-barril.spec b/python-barril.spec
index 443c449..b9b94d4 100644
--- a/python-barril.spec
+++ b/python-barril.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-barril
-Version: 1.17.0
+Version: 1.18.0
Release: 1
Summary: Python package to manage units for physical quantities
License: MIT license
URL: https://github.com/ESSS/barril
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b7/08/3f3738627254c1818861453d6ea83163595d92bfde9310b2c28161c0d1fa/barril-1.17.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/16/99/6e570dfd6d01ae264b9079df929b0e34e6c9af1b723ad598dc538dc83c86/barril-1.18.0.tar.gz
BuildArch: noarch
Requires: python3-attrs
@@ -43,7 +43,7 @@ Provides: python3-barril-doc
%prep
-%autosetup -n barril-1.17.0
+%autosetup -n barril-1.18.0
%build
%py3_build
@@ -57,20 +57,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 .
@@ -83,5 +83,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.17.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.18.0-1
- Package Spec generated
diff --git a/sources b/sources
index 1ea43c5..cf4fe6d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-db9a83de0e3b001cba3ecc15a87d2238 barril-1.17.0.tar.gz
+1994bc2336c750b8cdf636d678665358 barril-1.18.0.tar.gz