generated from pool/new_package
clean up the SPEC file, doc subpackage is unnecessary
This commit is contained in:
@@ -40,15 +40,6 @@ Obsoletes: %{flavor}-jsregexp < %{version}
|
||||
%description
|
||||
Provides ECMAScript regular expressions for Lua 5.1, 5.2, 5.3, 5.4 and LuaJit. Uses libregexp from Fabrice Bellard's QuickJS.
|
||||
|
||||
%package doc
|
||||
Summary: Lua Documentation for %{mod_name}
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation and examples included with the library, sometimes
|
||||
generated by luadoc or ldoc.
|
||||
|
||||
%prep
|
||||
%setup -q -n jsregexp-%{version}
|
||||
|
||||
@@ -70,16 +61,11 @@ mkdir -p %{buildroot}%{lua_noarchdir}
|
||||
install jsregexp.so %{buildroot}%{lua_archdir}
|
||||
|
||||
%check
|
||||
LUA_PATH='%{_datadir}/lua/%{lua_version}/?.lua'
|
||||
LUA_PATH="%{buildroot}%{lua_noarchdir}/?/init.lua;${LUA_PATH}"
|
||||
export LUA_PATH="%{buildroot}%{lua_noarchdir}/?.lua;${LUA_PATH}"
|
||||
%{_bindir}/lua%{lua_version} test.lua
|
||||
|
||||
%files
|
||||
%{lua_archdir}
|
||||
%{lua_noarchdir}
|
||||
|
||||
%files doc
|
||||
%doc re.html jsregexp.html HISTORY
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{lua_archdir}/jsregexp.so
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user