Hello community, here is the log from the commit of package gengetopt for openSUSE:Factory checked in at 2017-03-12 20:00:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gengetopt (Old) and /work/SRC/openSUSE:Factory/.gengetopt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gengetopt" Sun Mar 12 20:00:55 2017 rev:13 rq:476989 version:2.22.6 Changes: -------- --- /work/SRC/openSUSE:Factory/gengetopt/gengetopt.changes 2015-03-18 13:08:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gengetopt.new/gengetopt.changes 2017-03-12 20:00:58.055502174 +0100 @@ -1,0 +2,6 @@ +Sun Mar 5 09:40:52 UTC 2017 - mplus...@suse.com + +- Update dependencies +- Small packaging cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gengetopt.spec ++++++ --- /var/tmp/diff_new_pack.s5mNMJ/_old 2017-03-12 20:00:58.767401440 +0100 +++ /var/tmp/diff_new_pack.s5mNMJ/_new 2017-03-12 20:00:58.771400875 +0100 @@ -1,7 +1,7 @@ # # spec file for package gengetopt # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -22,14 +22,16 @@ Summary: Commandline parser generator License: GPL-3.0+ Group: Development/Languages/C and C++ -Url: http://www.gnu.org/software/gengetopt/ -Source0: ftp://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz -Source1: ftp://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz.sig +Url: https://www.gnu.org/software/gengetopt/ +Source0: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz +Source1: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring +BuildRequires: bison +BuildRequires: flex BuildRequires: gcc-c++ +BuildRequires: help2man Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Gengetopt is a tool to generate C code to parse getopt styled command line @@ -42,34 +44,34 @@ %setup -q %build -%configure \ - --docdir=%{_docdir}/%{name} +%configure make --jobs 1 %install -%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} +%make_install # our system's getopt.h has getopt_long() on board, no need to install sources rm -rf %{buildroot}%{_datadir}/%{name} # info's dir file is not auto ignored on some systems rm -rf %{buildroot}%{_infodir}/dir -# make rpmlint happy and delete INSTALL -rm -f %{buildroot}%{_docdir}/%{name}/INSTALL +# documentation is handled by doc macr +rm -rf %{buildroot}%{_datadir}/doc/%{name} %check make check --jobs 1 %post -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %preun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %files %defattr(-, root, root) +%doc COPYING ChangeLog LICENSE NEWS README THANKS +%doc doc/*.h doc/*.c doc/*.ggo doc/README.example %{_bindir}/%{name} -%doc %{_infodir}/*.info* -%doc %{_mandir}/man1/%{name}* -%doc %{_docdir}/%{name} +%{_infodir}/%{name}.info%{ext_info} +%{_mandir}/man1/%{name}.1%{ext_man} %changelog