Browse Source

upgrading package: certbot 0.30.2 -> 0.31.0

master
parent
commit
21d18378c5
  1. 13
      certbot/certbot.spec

13
certbot/certbot.spec

@ -22,8 +22,9 @@
##
# package version
%define V_opkg 0.30.2
%define V_dist 0.30.2
%define V_python 3.7
%define V_opkg 0.31.0
%define V_dist 0.31.0
# package information
Name: certbot
@ -36,7 +37,7 @@ Class: EVAL
Group: Cryptography
License: Apache
Version: %{V_opkg}
Release: 20190126
Release: 20190208
# list of sources
Source0: https://github.com/certbot/certbot/archive/v%{V_dist}.tar.gz
@ -74,7 +75,7 @@ PreReq: python-setup, python-util, python-www, python-time, python-dialog,
%install
# build and install ACME library
( cd acme
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python%{V_python}/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
@ -82,7 +83,7 @@ PreReq: python-setup, python-util, python-www, python-time, python-dialog,
) || exit $?
# build and install Let's Encrypt client
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python%{V_python}/site-packages \
%{l_prefix}/bin/python setup.py install \
--skip-build \
--root=$RPM_BUILD_ROOT \
@ -90,7 +91,7 @@ PreReq: python-setup, python-util, python-www, python-time, python-dialog,
# install missing parts (not installed with command above)
cp -rp certbot \
$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages/
$RPM_BUILD_ROOT%{l_prefix}/lib/python%{V_python}/site-packages/
# create run-time directories
%{l_shtool} mkdir -f -p -m 755 \

Loading…
Cancel
Save