Commit 6df2af90 authored by Vitaly Lipatov's avatar Vitaly Lipatov

spec: use php%php_defver macro instead of hardcoded php8.1

parent 59d6cb2e
%define defphp php8.1 %define defphp php%php_defver
Name: eterban Name: eterban
Version: 0.9 Version: 0.9
...@@ -16,7 +16,8 @@ Source: %name-%version.tar ...@@ -16,7 +16,8 @@ Source: %name-%version.tar
BuildArchitectures: noarch BuildArchitectures: noarch
# error: File must begin with "/": %webserver_htdocsdir/maintenance/ # error: File must begin with "/": %webserver_htdocsdir/maintenance/
BuildRequires(pre): rpm-macros-webserver-common rpm-build-python3 BuildRequires(pre): rpm-macros-webserver-common
BuildRequires(pre): rpm-build-python3 rpm-macros-php
#Requires: python3 python3-module-redis-py #Requires: python3 python3-module-redis-py
%add_python3_lib_path /usr/share/eterban %add_python3_lib_path /usr/share/eterban
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment