Hello community,

here is the log from the commit of package lua-lmod for openSUSE:Factory 
checked in at 2019-03-14 14:53:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-lmod (Old)
 and      /work/SRC/openSUSE:Factory/.lua-lmod.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-lmod"

Thu Mar 14 14:53:39 2019 rev:15 rq:683908 version:7.8.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-lmod/lua-lmod.changes        2019-02-24 
17:07:04.336575532 +0100
+++ /work/SRC/openSUSE:Factory/.lua-lmod.new.28833/lua-lmod.changes     
2019-03-14 14:53:48.883774962 +0100
@@ -1,0 +2,9 @@
+Mon Mar 11 10:01:57 UTC 2019 - Ana Guerrero Lopez <[email protected]>
+
+- Remove flavor 'doc-man' building a package only with the lmod manpage
+  and move the manpage to lua-lmod.
+- Remove the Recommends on lua-lmod-man and add a Provides instead.
+- Update the Group tag for lua-lmod-doc to Documentation/Other because
+  Documentation/PDF doesn't exist and make the package noarch.
+ 
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lua-lmod.spec ++++++
--- /var/tmp/diff_new_pack.QKegdB/_old  2019-03-14 14:53:51.195774606 +0100
+++ /var/tmp/diff_new_pack.QKegdB/_new  2019-03-14 14:53:51.195774606 +0100
@@ -20,22 +20,12 @@
 %define _buildshell /bin/bash
 
 %if "%flavor" == ""
-%undefine build_doc
-%undefine build_man
 %endif
 
 %if "%flavor" == "doc-pdf"
 %define build_pdf 1
 %endif
 
-%if "%flavor" == "doc-man"
-%define build_man 1
-%endif
-
-%if 0%{?build_pdf:1} || 0%{?build_man:1}
-%define build_doc 1
-%endif
-
 #
 %define ohpc 0
 
@@ -62,7 +52,6 @@
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
-%if 0%{!?build_doc:1}
 BuildRequires:  lua >= %{lua_version}
 BuildRequires:  lua-devel >= %{lua_version}
 BuildRequires:  lua-luafilesystem
@@ -76,10 +65,9 @@
 Requires:       lua-luaposix
 Requires:       lua-luaterm
 Requires:       tcl
-Recommends:     lua-lmod-man
 Conflicts:      Modules
-%else
 BuildRequires:  python-Sphinx
+Provides:       lua-lmod-man = %{version}-%{release}
 %if 0%{?build_pdf:1}
 BuildRequires:  texlive
 BuildRequires:  texlive-babel
@@ -112,7 +100,6 @@
 BuildRequires:  python-Sphinx-latex
 %endif
 %endif # %%build_pdf
-%endif # %%build_doc
 
 %description
 Lmod is an Environment Module System based on Lua, Reads TCL Modules,
@@ -120,18 +107,12 @@
 
 %package doc
 Summary:        Documentation for Lmod
-Group:          Documentation/PDF
+Group:          Documentation/Other
+BuildArch:      noarch
 
 %description doc
 Documentation (pdf) for the Lmod Environment Modules System.
 
-%package man
-Summary:        Manual page for Lmod
-Group:          Documentation/Man
-
-%description man
-Documentation (man) for the Lmod Environment Modules System
- 
 %prep
 %setup -q -n Lmod-%{version}
 %patch1 -p1
@@ -140,7 +121,7 @@
 %endif
 
 %build
-%if 0%{!?build_doc:1}
+%if 0%{!?build_pdf:1}
 export LUA_CPATH="%{lua_cpath}"
 export LUA_PATH="%{lua_path}"
 %configure --prefix=%{_datadir} \
@@ -151,12 +132,11 @@
     --with-autoSwap=no
 make
 find my_docs/ -name .gitignore -delete
-%else
-cd docs; make %{?build_pdf:latexpdf} %{?build_man:man}; cd ..                  
                                                                                
                              
 %endif
+cd docs; make %{?build_pdf:latexpdf} %{!?build_pdf:man}; cd ..                 
                                                                                
                               
 
 %install
-%if 0%{!?build_doc:1}
+%if 0%{!?build_pdf:1}
 export LUA_CPATH="%{lua_cpath}"
 export LUA_PATH="%{lua_path}"
 %make_install
@@ -260,14 +240,12 @@
 module try-add suse-hpc 
 
 EOF
-%else # %%build_docs
- %if 0%{?build_man}
+
 mkdir -p %{buildroot}/%{_mandir}/man1
 install -p -m644 docs/build/man/lmod.1 %{buildroot}/%{_mandir}/man1/
- %endif
 %endif
 
-%if 0%{!?build_doc:1}
+%if 0%{!?build_pdf:1}
 %files
 %license License
 %doc README.*
@@ -279,8 +257,8 @@
 %dir %{lua_lmod_admin_modulesdir}
 %dir %{lua_lmod_moduledeps}
 %{_datadir}/lmod/*
-
-%else # %%build_docs
+%{_mandir}/man1/lmod.1.*
+%endif
 
 %if 0%{?build_pdf}
 %files doc
@@ -288,11 +266,4 @@
 %doc docs/build/latex/Lmod.pdf
 %endif
 
-%if 0%{?build_man}
-%files man
-%{_mandir}/man1/lmod.1.*
-%endif
-
-%endif # %%build_docs
-
 %changelog

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.QKegdB/_old  2019-03-14 14:53:51.231774600 +0100
+++ /var/tmp/diff_new_pack.QKegdB/_new  2019-03-14 14:53:51.235774600 +0100
@@ -1,4 +1,3 @@
 <multibuild>
   <package>doc-pdf</package>
-  <package>doc-man</package>
 </multibuild>


Reply via email to