From 479efb230246f56defa715ed8ebdd680770574e470f84c488f4d23325fc675b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Tue, 1 Jul 2025 11:10:19 +0200 Subject: [PATCH] clean up the SPEC file, doc subpackage is unnecessary --- lua-jsregexp.spec | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/lua-jsregexp.spec b/lua-jsregexp.spec index 3f26c14..5a77d2f 100644 --- a/lua-jsregexp.spec +++ b/lua-jsregexp.spec @@ -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