forked from pool/lua-BitOp
This commit is contained in:
committed by
Git OBS Bridge
parent
633ba565a1
commit
a76bf9afdf
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lua51-BitOp
|
# spec file for package lua-BitOp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -17,10 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define flavor @BUILD_FLAVOR@
|
%define flavor @BUILD_FLAVOR@
|
||||||
%if "%flavor" == ""
|
|
||||||
ExclusiveArch: do_not_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define mod_name BitOp
|
%define mod_name BitOp
|
||||||
Name: %{flavor}-%{mod_name}
|
Name: %{flavor}-%{mod_name}
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
@@ -30,9 +26,12 @@ License: MIT
|
|||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Url: http://bitop.luajit.org/index.html
|
Url: http://bitop.luajit.org/index.html
|
||||||
Source: http://bitop.luajit.org/download/LuaBitOp-%{version}.tar.gz
|
Source: http://bitop.luajit.org/download/LuaBitOp-%{version}.tar.gz
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
|
BuildRequires: gcc
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations
|
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations
|
||||||
@@ -60,12 +59,10 @@ mkdir -p %{buildroot}%{lua_archdir}
|
|||||||
install bit.so %{buildroot}%{lua_archdir}
|
install bit.so %{buildroot}%{lua_archdir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{lua_archdir}
|
%dir %{lua_archdir}
|
||||||
%{lua_archdir}/*
|
%{lua_archdir}/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user