Hello community,

here is the log from the commit of package tclap for openSUSE:Factory checked 
in at 2015-12-24 12:16:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tclap (Old)
 and      /work/SRC/openSUSE:Factory/.tclap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tclap"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tclap/tclap.changes      2011-11-10 
16:05:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tclap.new/tclap.changes 2015-12-24 
12:16:08.000000000 +0100
@@ -1,0 +2,9 @@
+Fri Dec 11 11:14:58 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Use url for source
+- Enable testsuite
+- Remove conditions which apply to unsuppoerted distributions
+- Drop no longer needed tclap-remove_Wextra.patch
+
+-------------------------------------------------------------------

Old:
----
  tclap-1.2.1.tar.bz2
  tclap-remove_Wextra.patch

New:
----
  tclap-1.2.1.tar.gz

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

Other differences:
------------------
++++++ tclap.spec ++++++
--- /var/tmp/diff_new_pack.0sFchM/_old  2015-12-24 12:16:09.000000000 +0100
+++ /var/tmp/diff_new_pack.0sFchM/_new  2015-12-24 12:16:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tclap
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,45 +12,27 @@
 # 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/
 #
 
-%if 0%{?suse_version} >= 1000
-%define with_doc 1
-%else
-%define with_doc 0
-%endif
 
 Name:           tclap
 Version:        1.2.1
 Release:        0
-License:        MIT
 Summary:        Templatized C++ Command Line Parser
-Url:            http://tclap.sf.net
+License:        MIT
 Group:          Development/Libraries/C and C++
-# http://prdownloads.sourceforge.net/tclap/tclap-%%{version}.tar.gz
-Source:         tclap-%{version}.tar.bz2
-# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch1:         tclap-remove_Wextra.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if %with_doc
-BuildRequires:  autoconf
-BuildRequires:  automake
+Url:            http://tclap.sf.net
+Source0:        
http://prdownloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
 BuildRequires:  doxygen
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  glibc-devel
 BuildRequires:  graphviz
 BuildRequires:  libstdc++-devel
-BuildRequires:  libtool
-BuildRequires:  make
-BuildRequires:  pkgconfig
+BuildRequires:  pkg-config
 Provides:       libtclap = %{version}
 Provides:       libtclap-devel = %{version}
-%endif #with_doc
-%if 0%{?suse_version} >= 1030
-BuildRequires:  fdupes
-%endif
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 TCLAP is a small, flexible library that provides a simple interface for
@@ -61,7 +43,6 @@
 While the library is not strictly compliant with the GNU or POSIX standards, it
 is close.
 
-%if %with_doc
 %package doc
 Summary:        API Documentation for %{name}
 Group:          Development/Libraries/C and C++
@@ -69,22 +50,13 @@
 %description doc
 This package contains the API documentation for TCLAP, the Templatized
 C++ Command Line Parser.
-%endif #with_doc
 
 %prep
 %setup -q
-%if 0%{?suse_version} < 1000
-%patch1
-%endif
 
 %build
 %configure \
-%if %with_doc
         --enable-doxygen
-%else
-        --disable-doxygen
-%endif #with_doc
-
 make %{?_smp_mflags}
 
 %install
@@ -92,10 +64,8 @@
 
 install -d "%{buildroot}%{_docdir}/%{name}"
 
-%if %with_doc
 mv "%{buildroot}%{_datadir}/doc/tclap" "%{buildroot}%{_docdir}/%{name}/html"
 rm -rf "%{buildroot}%{_docdir}/%{name}/html/html/CVS"
-%endif #with_doc
 
 echo -n > docfiles.lst
 for f in AUTHORS ChangeLog COPYING NEWS README; do
@@ -103,14 +73,10 @@
         echo "%doc %{_docdir}/%{name}/${f}" >> docfiles.lst
 done
 
-%if %with_doc
-%if 0%{?suse_version} >= 1030
 %fdupes -s "%{buildroot}%{_docdir}/%{name}/html"
-%endif
-%endif #with_doc
 
-%clean
-rm -rf %{buildroot}
+%check
+make %{?_smp_mflags} check
 
 %files -f docfiles.lst
 %defattr(-,root,root)
@@ -118,11 +84,9 @@
 %{_includedir}/tclap
 %{_libdir}/pkgconfig/tclap.pc
 
-%if %with_doc
 %files doc
 %defattr(-,root,root)
 %doc %dir %{_docdir}/%{name}
 %doc %{_docdir}/%{name}/html
-%endif #with_doc
 
 %changelog


Reply via email to