Hello community,

here is the log from the commit of package tclap for openSUSE:Factory checked 
in at 2020-05-29 21:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tclap (Old)
 and      /work/SRC/openSUSE:Factory/.tclap.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tclap"

Fri May 29 21:20:19 2020 rev:8 rq:809925 version:1.2.1

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ /work/SRC/openSUSE:Factory/.tclap.new.3606/tclap-doc.changes        
2020-05-29 21:35:55.658391002 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Tue May 26 11:48:54 UTC 2020 - Martin Liška <mli...@suse.cz>
+
+- New split sub-package.
--- /work/SRC/openSUSE:Factory/tclap/tclap.changes      2015-12-24 
12:16:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tclap.new.3606/tclap.changes    2020-05-29 
21:35:55.714391169 +0200
@@ -1,0 +2,5 @@
+Tue May 26 11:48:40 UTC 2020 - Martin Liška <mli...@suse.cz>
+
+- Split -doc subpackage to a different spec file.
+
+-------------------------------------------------------------------

New:
----
  tclap-doc.changes
  tclap-doc.spec

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

Other differences:
------------------
++++++ tclap-doc.spec ++++++
#
# spec file for package tclap-doc
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           tclap-doc
Version:        1.2.1
Release:        0
Summary:        API Documentation for %{name}
License:        MIT
Group:          Development/Libraries/C and C++
URL:            http://tclap.sf.net
Source0:        http://prdownloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
BuildRequires:  doxygen
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  graphviz
BuildRequires:  libstdc++-devel
BuildRequires:  pkgconfig
BuildArch:      noarch

%description

This package contains the API documentation for TCLAP, the Templatized
C++ Command Line Parser.

%prep
%setup -q -n tclap-%{version}

%build
%configure \
         --enable-doxygen
%make_build

%install
%make_install

install -d "%{buildroot}%{_docdir}/%{name}"

mv "%{buildroot}%{_datadir}/doc/tclap" "%{buildroot}%{_docdir}/%{name}/html"
rm -rf "%{buildroot}%{_docdir}/%{name}/html/html/CVS"

%fdupes -s "%{buildroot}%{_docdir}/%{name}/html"

rm -rf %{buildroot}/%{_includedir}/tclap
rm -f %{buildroot}/%{_libdir}/pkgconfig/tclap.pc

%files
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/html

%changelog
++++++ tclap.spec ++++++
--- /var/tmp/diff_new_pack.kixGuk/_old  2020-05-29 21:35:56.214392658 +0200
+++ /var/tmp/diff_new_pack.kixGuk/_new  2020-05-29 21:35:56.214392658 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tclap
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -22,17 +22,14 @@
 Summary:        Templatized C++ Command Line Parser
 License:        MIT
 Group:          Development/Libraries/C and C++
-Url:            http://tclap.sf.net
+URL:            http://tclap.sf.net
 Source0:        
http://prdownloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
-BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  graphviz
 BuildRequires:  libstdc++-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 Provides:       libtclap = %{version}
 Provides:       libtclap-devel = %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 TCLAP is a small, flexible library that provides a simple interface for
@@ -43,50 +40,27 @@
 While the library is not strictly compliant with the GNU or POSIX standards, it
 is close.
 
-%package doc
-Summary:        API Documentation for %{name}
-Group:          Development/Libraries/C and C++
-
-%description doc
-This package contains the API documentation for TCLAP, the Templatized
-C++ Command Line Parser.
-
 %prep
 %setup -q
 
 %build
-%configure \
-        --enable-doxygen
-make %{?_smp_mflags}
+%configure
+%make_build
 
 %install
 %make_install
 
 install -d "%{buildroot}%{_docdir}/%{name}"
-
 mv "%{buildroot}%{_datadir}/doc/tclap" "%{buildroot}%{_docdir}/%{name}/html"
-rm -rf "%{buildroot}%{_docdir}/%{name}/html/html/CVS"
-
-echo -n > docfiles.lst
-for f in AUTHORS ChangeLog COPYING NEWS README; do
-        install -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/$f"
-        echo "%doc %{_docdir}/%{name}/${f}" >> docfiles.lst
-done
-
-%fdupes -s "%{buildroot}%{_docdir}/%{name}/html"
+rm -rf "%{buildroot}%{_docdir}/%{name}"
 
 %check
-make %{?_smp_mflags} check
+%make_build check
 
-%files -f docfiles.lst
-%defattr(-,root,root)
-%doc %dir %{_docdir}/%{name}
+%files
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_includedir}/tclap
 %{_libdir}/pkgconfig/tclap.pc
 
-%files doc
-%defattr(-,root,root)
-%doc %dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/html
-
 %changelog


Reply via email to