SHA256
10
0
forked from pool/lua-BitOp
Tomáš Chvátal
2017-07-13 16:11:13 +00:00
committed by Git OBS Bridge
parent 633ba565a1
commit a76bf9afdf

View File

@@ -1,5 +1,5 @@
#
# spec file for package lua51-BitOp
# spec file for package lua-BitOp
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -17,10 +17,6 @@
%define flavor @BUILD_FLAVOR@
%if "%flavor" == ""
ExclusiveArch: do_not_build
%endif
%define mod_name BitOp
Name: %{flavor}-%{mod_name}
Version: 1.0.2
@@ -30,9 +26,12 @@ License: MIT
Group: Development/Libraries/Other
Url: http://bitop.luajit.org/index.html
Source: http://bitop.luajit.org/download/LuaBitOp-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: %{flavor}-devel
BuildRequires: gcc
Requires: %{flavor}
%if "%{flavor}" == ""
ExclusiveArch: do_not_build
%endif
%description
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}
%files
%defattr(-,root,root,-)
%dir %{lua_archdir}
%{lua_archdir}/*
%files doc
%defattr(-,root,root,-)
%doc README
%changelog