Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua54 for openSUSE:Factory checked 
in at 2021-06-01 10:33:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua54 (Old)
 and      /work/SRC/openSUSE:Factory/.lua54.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua54"

Tue Jun  1 10:33:50 2021 rev:11 rq:895306 version:5.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua54/lua54.changes      2021-05-17 
18:44:50.952742103 +0200
+++ /work/SRC/openSUSE:Factory/.lua54.new.1898/lua54.changes    2021-06-01 
10:34:07.988473023 +0200
@@ -1,0 +2,5 @@
+Sat May 22 12:58:16 UTC 2021 - Callum Farmer <[email protected]>
+
+- Fix doc location (boo#1186233)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua54.spec ++++++
--- /var/tmp/diff_new_pack.CQMxpN/_old  2021-06-01 10:34:08.688474214 +0200
+++ /var/tmp/diff_new_pack.CQMxpN/_new  2021-06-01 10:34:08.692474222 +0200
@@ -24,6 +24,7 @@
 %endif
 %define major_version 5.4
 %define libname liblua5_4-5
+%define lua_docdir %{_datadir}/doc/lua%{major_version}
 Name:           lua54%{name_ext}
 Version:        5.4.3
 Release:        0
@@ -121,6 +122,7 @@
 Summary:        Documentation for Lua, a small embeddable language
 Group:          Documentation/HTML
 BuildArch:      noarch
+Supplements:    (lua54 and patterns-base-documentation)
 
 %description doc
 Lua is a programming language originally designed for extending
@@ -207,6 +209,11 @@
 ln -sf %{_sysconfdir}/alternatives/liblua.so %{buildroot}%{_libdir}/liblua.so
 touch %{buildroot}%{_sysconfdir}/alternatives/lua.pc
 ln -sf %{_sysconfdir}/alternatives/lua.pc 
%{buildroot}%{_libdir}/pkgconfig/lua.pc
+# doc
+mkdir -p %{buildroot}%{lua_docdir}/doc
+install -Dm644 README %{buildroot}%{lua_docdir}
+install -Dm644 doc/* %{buildroot}%{lua_docdir}/doc
+rm %{buildroot}%{lua_docdir}/doc/*.1
 %else
 %check
 LD_LIBRARY_PATH=%{_libdir} %{_bindir}/lua%{major_version} all.lua
@@ -239,7 +246,8 @@
 fi
 
 %files
-%doc README
+%dir %{lua_docdir}
+%doc %{lua_docdir}/README
 %dir %{_libdir}/lua
 %dir %{_libdir}/lua/%{major_version}
 %dir %{_datadir}/lua
@@ -278,7 +286,8 @@
 %ghost %{_sysconfdir}/alternatives/lua.pc
 
 %files doc
-%doc doc/*
+%dir %{lua_docdir}/doc
+%doc %{lua_docdir}/doc/*
 
 %endif
 %changelog

Reply via email to