forked from pool/lua-luasocket
x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasocket?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
677c34ec87
commit
37fa929447
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user