forked from pool/lua-BitOp
Fix with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-BitOp?expand=0&rev=13
This commit is contained in:
@@ -23,19 +23,19 @@ Release: 0
|
|||||||
Summary: Lua Bit Operations Module
|
Summary: Lua Bit Operations Module
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
URL: http://bitop.luajit.org/index.html
|
URL: https://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: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
|
Obsoletes: %{name}-doc < %{version}-%{release}
|
||||||
|
Provides: %{name}-doc = %{version}-%{release}
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
Name: lua-%{mod_name}
|
Name: lua-%{mod_name}
|
||||||
ExclusiveArch: do_not_build
|
ExclusiveArch: do_not_build
|
||||||
%else
|
%else
|
||||||
Name: %{flavor}-%{mod_name}
|
Name: %{flavor}-%{mod_name}
|
||||||
%endif
|
%endif
|
||||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
|
||||||
Provides: %{name}-doc = %{version}-%{release}
|
|
||||||
|
|
||||||
%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
|
||||||
@@ -46,7 +46,7 @@ on numbers.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -I%{lua_incdir}"
|
export CFLAGS="%{optflags} -I%{lua_incdir}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
|
Reference in New Issue
Block a user