]> git.pld-linux.org Git - packages/cherokee.git/commitdiff
- fix python shebangs, rebuild with openssl 3.0.0, rel 2 auto/th/cherokee-1.2.104-2
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 22 Oct 2021 20:22:28 +0000 (22:22 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 22 Oct 2021 20:22:28 +0000 (22:22 +0200)
cherokee.spec

index e5ffa9ebecdc9a720af565ce2615459a35e442c8..77ce6fa31e3f73b7d0378d503b105b4e45604097 100644 (file)
@@ -14,7 +14,7 @@ Summary:      Fast, Flexible and Lightweight Web server
 Summary(pl.UTF-8):     Cherokee - serwer WWW
 Name:          cherokee
 Version:       1.2.104
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       https://github.com/cherokee/webserver/archive/v%{version}.zip
@@ -133,6 +133,13 @@ Biblioteki serwera WWW Cherokee.
 %patch3 -p1
 %patch4 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      admin/CTK/CTK-run.pre \
+      admin/server.py \
+      admin/upgrade_config.py \
+      cherokee/cherokee-admin-launcher \
+      cherokee/cherokee-tweak
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
This page took 0.941211 seconds and 4 git commands to generate.