summaryrefslogtreecommitdiff
path: root/python-raspyrfm-client.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 11:01:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 11:01:01 +0000
commit02c9cffcef24b5e590eea90114efc59eb7b0207d (patch)
tree60a4647f0d3c5e10f06b2b1443217f506e0d33fe /python-raspyrfm-client.spec
parente97366f4268019d1f29fad18cb3d373d12661375 (diff)
automatic import of python-raspyrfm-clientopeneuler20.03
Diffstat (limited to 'python-raspyrfm-client.spec')
-rw-r--r--python-raspyrfm-client.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-raspyrfm-client.spec b/python-raspyrfm-client.spec
index b805e71..1a47dd9 100644
--- a/python-raspyrfm-client.spec
+++ b/python-raspyrfm-client.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A library to send rc signals with the RaspyRFM module
License: GPLv3+
URL: https://github.com/markusressel/raspyrfm-client
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7c/e8/b895a21da6a3f2a036a9f4e2b864d7b29c6ea988d8c77bd3f4725af9238c/raspyrfm_client-1.2.8.win-amd64.zip
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7c/e8/b895a21da6a3f2a036a9f4e2b864d7b29c6ea988d8c77bd3f4725af9238c/raspyrfm_client-1.2.8.win-amd64.zip
BuildArch: noarch
@@ -28,7 +28,7 @@ Provides: python3-raspyrfm-client-doc
A python 3.4+ library that allows the generation of network codes for the RaspyRFM rc module (and other gateways too!).
%prep
-%autosetup -n raspyrfm-client-1.2.8
+%autosetup -n raspyrfm_client.win-amd64-1.2.8
%build
%py3_build
@@ -42,20 +42,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 .
@@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.8-1
- Package Spec generated