Hello community,

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

Package is "glucat"

Thu Mar 21 09:53:31 2019 rev:20 rq:687073 version:0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/glucat/glucat.changes    2018-07-13 
10:21:16.490449960 +0200
+++ /work/SRC/openSUSE:Factory/.glucat.new.28833/glucat.changes 2019-03-21 
09:53:35.330784177 +0100
@@ -1,0 +2,7 @@
+Sun Feb 10 01:29:04 UTC 2019 - Atri Bhattacharya <[email protected]>
+
+- Add glucat-disable-pdf-doc.patch to disable building pdf
+  documentation until issues are fixed.
+- Use %%license to install COPYING file.
+
+-------------------------------------------------------------------

New:
----
  glucat-disable-pdf-doc.patch

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

Other differences:
------------------
++++++ glucat.spec ++++++
--- /var/tmp/diff_new_pack.0Poh9y/_old  2019-03-21 09:53:36.082783974 +0100
+++ /var/tmp/diff_new_pack.0Poh9y/_new  2019-03-21 09:53:36.086783974 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glucat
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,33 +12,36 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%if 0%{?suse_version} <= 1500
+%global _with_pdfdoc 1
+%else
+%global _with_pdfdoc 0
+%endif
 
 Name:           glucat
 Version:        0.8.2
 Release:        0
 Summary:        Library of C++ templates implementing universal Clifford 
algebras
-License:        LGPL-3.0
+License:        LGPL-3.0-only
 Group:          Development/Libraries/C and C++
-Url:            http://glucat.sourceforge.net/
+URL:            http://glucat.sourceforge.net/
 Source:         
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-BuildRequires:  autoconf
-BuildRequires:  automake
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel
-%endif
+# PATCH-FIX-UPSTREAM glucat-disable-pdf-doc.patch [email protected] -- 
Disable building pdf documentation until issues with TeXLive 2018 are sorted.
+Patch0:         glucat-disable-pdf-doc.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz-gd
 BuildRequires:  graphviz-gnome
+BuildRequires:  libtool
 BuildRequires:  python-Cython
 BuildRequires:  python-devel
 BuildRequires:  python-numpy
+BuildRequires:  libboost_headers-devel
+%if %{with pdfdoc}
 BuildRequires:  texlive-collection-fontsrecommended
 BuildRequires:  texlive-latex-bin
 BuildRequires:  texlive-metafont-bin
@@ -55,7 +58,7 @@
 BuildRequires:  tex(tocloft.sty)
 BuildRequires:  tex(wasysym.sty)
 BuildRequires:  tex(xtab.sty)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%endif
 
 %description
 GluCat is a library of template classes which model the universal
@@ -109,9 +112,13 @@
 
 %prep
 %setup -q
-sed -i "s|-march=native||g" configure
+%if ! %{with pdfdoc}
+%patch0 -p1
+%endif
 
 %build
+autoreconf -fvi
+sed -i "s|-march=native||g" configure
 %configure --prefix=%{_prefix} --docdir=%{_docdir}/%{name} 
--with-demo-dir=%{_docdir}/%{name}/demos
 
 # FIX A NON-UNIX EOF ENCODING
@@ -133,18 +140,18 @@
 %fdupes %{buildroot}%{_docdir}/%{name}/html/
 
 %files devel
-%defattr(-,root,root)
-%doc AUTHORS ChangeLog README COPYING TODO NEWS
+%license COPYING
+%doc AUTHORS ChangeLog README TODO NEWS
 %{_includedir}/%{name}/
 
 %files doc
-%defattr(-,root,root)
 %dir %{_docdir}/%{name}
 %{_docdir}/%{name}/html/
+%if %{with pdfdoc}
 %{_docdir}/%{name}/pdf/
+%endif
 
 %files -n python-glucat
-%defattr(-,root,root)
 %{python_sitearch}/*
 %dir %{_docdir}/%{name}
 %{_docdir}/%{name}/demos/

++++++ glucat-disable-pdf-doc.patch ++++++
Index: glucat-0.8.2/doc/Makefile.am
===================================================================
--- glucat-0.8.2.orig/doc/Makefile.am
+++ glucat-0.8.2/doc/Makefile.am
@@ -14,7 +14,7 @@ if HAVE_DOXYGEN
   testHEADERS = ../test/*.h
   PyClicalSOURCE = ../pyclical/glucat.pxd ../pyclical/PyClical.h  
../pyclical/PyClical.pxd ../pyclical/PyClical.pyx
   
-doc: html pdf
+doc: html
 
 html: $(nodist_html_DATA) 
 
@@ -25,13 +25,9 @@ $(nodist_html_DATA): .doxygen.out
        mkdir -p api/latex
        $(DOXYGEN) $(DOXYFLAGS) $(doxydir)/Doxyfile > .doxygen.out
 
-pdf: $(nodist_pdf_DATA)
+pdf:
 
-$(nodist_pdf_DATA): .doxygen.out
-       sed -i "s/operator\%/operator\\\%/g" api/latex/*.tex
-       $(MAKE) -C api/latex > api/latex/make.out
-       cp api/latex/refman.pdf $@
-       rm -rf api/latex
+$(nodist_pdf_DATA):
 
 clean-local:
        rm -rf api

Reply via email to