From db23fd6e52861792272be114e9ca567b16725d71 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Thu, 5 Aug 2021 19:43:57 +0800 Subject: [PATCH] fix sync openEuler-20.03-LTS-SP1 %file file not found issue. Signed-off-by: cherry530 --- python-certbot.spec | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/python-certbot.spec b/python-certbot.spec index 74759aa..0add219 100644 --- a/python-certbot.spec +++ b/python-certbot.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} Name: python-certbot Version: 1.16.0 -Release: 1 +Release: 2 Summary: ACME client License: Apache License 2.0 URL: https://github.com/certbot/certbot @@ -75,31 +75,18 @@ if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}/acme; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}/acme; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}/acme; fi pushd %{buildroot} -#if [ -d usr/lib ]; then -# find usr/lib -type f -printf "/%h/%f\n" >> certbot-filelist.lst -#fi -#if [ -d usr/lib64 ]; then -# find usr/lib64 -type f -printf "/%h/%f\n" >> certbot-filelist.lst -#fi -#if [ -d usr/bin ]; then -# find usr/bin -type f -printf "/%h/%f\n" >> certbot-filelist.lst -#fi -#if [ -d usr/sbin ]; then -# find usr/sbin -type f -printf "/%h/%f\n" >> certbot-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 fi popd cd ../ -#mv %{buildroot}/certbot-filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-certbot %dir %{python3_sitelib}/* %{python3_sitelib}/certbot -%{python3_sitelib}/certbot-1.16.0-py3.8.egg-info +%{python3_sitelib}/certbot-%{version}-py?.?.egg-info %{_bindir}/certbot %files help -f doclist.lst @@ -108,8 +95,11 @@ mv %{buildroot}/doclist.lst . %files -n python3-acme %dir %{python3_sitelib}/* %{python3_sitelib}/acme -%{python3_sitelib}/acme-1.16.0-py3.8.egg-info +%{python3_sitelib}/acme-%{version}-py?.?.egg-info %changelog +* Thu Aug 05 2021 xu_ping - 1.16.0-2 +- fix sync code to openEuler-20.03-LTS-SP1 %file error. + * Mon Jun 28 2021 Python_Bot - 1.16.0-1 - Package Spec generated