10
0
forked from pool/lua-luasocket
Tomáš Chvátal
2017-07-27 12:22:27 +00:00
committed by Git OBS Bridge
parent 677c34ec87
commit 37fa929447
5 changed files with 1 additions and 13 deletions

View File

@@ -16,10 +16,7 @@
#
%define flavor @BUILD_FLAVOR@
%if "%{flavor}" == ""
%define flavor lua
%endif
%define mod_name luasocket
Name: %{flavor}-%{mod_name}
Version: 3.0~rc1+git20170515.5a17f79

View File

@@ -17,9 +17,6 @@
%define flavor lua51
%if "%{flavor}" == ""
%define flavor lua
%endif
%define mod_name luasocket
Name: %{flavor}-%{mod_name}
Version: 3.0~rc1+git20170515.5a17f79

View File

@@ -17,9 +17,6 @@
%define flavor lua52
%if "%{flavor}" == ""
%define flavor lua
%endif
%define mod_name luasocket
Name: %{flavor}-%{mod_name}
Version: 3.0~rc1+git20170515.5a17f79

View File

@@ -17,9 +17,6 @@
%define flavor lua53
%if "%{flavor}" == ""
%define flavor lua
%endif
%define mod_name luasocket
Name: %{flavor}-%{mod_name}
Version: 3.0~rc1+git20170515.5a17f79

View File

@@ -9,6 +9,6 @@ variants=(
for variant in ${variants[@]}; do
cp lua-${name}.changes ${variant}-${name}.changes
sed \
-e "s:@BUILD_FLAVOR@:${variant}:g" \
-e "s:flavor lua:flavor ${variant}:g" \
lua-${name}.spec > ${variant}-${name}.spec
done