Hello community,

here is the log from the commit of package gnu-cobol for openSUSE:Factory 
checked in at 2018-07-09 13:26:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnu-cobol (Old)
 and      /work/SRC/openSUSE:Factory/.gnu-cobol.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnu-cobol"

Mon Jul  9 13:26:48 2018 rev:1 rq:620014 version:3.0rc1

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

--- /dev/null   2018-06-28 02:21:07.430254147 +0200
+++ /work/SRC/openSUSE:Factory/.gnu-cobol.new/gnu-cobol.changes 2018-07-09 
13:26:48.823054158 +0200
@@ -0,0 +1,45 @@
+-------------------------------------------------------------------
+Sat May 12 05:05:29 UTC 2018 - aloi...@gmx.com
+
+- Enable parallel build and tests
+
+-------------------------------------------------------------------
+Tue May  8 22:14:34 UTC 2018 - aloi...@gmx.com
+
+- Update to version 3.0rc1, stabler than 2.2 final
+  (see NEWS or ChangeLog for details)
+- Refreshed gnucobol-CFLAGS.patch
+- Switched source URL to sourceforge to get the latest tarball
+- Fixed description
+- Enabled tests
+
+-------------------------------------------------------------------
+Thu Sep  7 19:42:36 UTC 2017 - aloi...@gmx.com
+
+- Update to version 2.2 (see NEWS or ChangeLog)
+- Switched license to GPL-3.0+/LGPL-3.0+
+- Updated source URL and homepage on account of being accepted
+  into the GNU Project
+- Added gnucobol-CFLAGS.patch
+- Dropped types.diff (apparently no longer necessary)
+
+-------------------------------------------------------------------
+Mon Apr  6 15:00:39 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Use url for source
+- Update info dependencies
+- Use macro for locale handling
+- Do not create static library
+
+-------------------------------------------------------------------
+Wed Jul 16 16:32:55 UTC 2014 - dvla...@suse.com
+
+- Fix SLE11 builds by defining buildroot 
+
+-------------------------------------------------------------------
+Wed Apr 30 00:00:00 UTC 2014 - MihailJP
+
+- First packaging
+
+

New:
----
  gnu-cobol.changes
  gnu-cobol.spec
  gnucobol-3.0-rc1.tar.xz
  gnucobol-CFLAGS.patch

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

Other differences:
------------------
++++++ gnu-cobol.spec ++++++
#
# spec file for package gnu-cobol
#
# Copyright (c) 2018 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
# 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 http://bugs.opensuse.org/
#

%define sover   4
%define _mver   3.0
%define _over   3.0-rc1
Name:           gnu-cobol
Version:        3.0rc1
Release:        0
Summary:        A free and open COBOL compiler
License:        GPL-3.0+ and LGPL-3.0+
Group:          Development/Languages/Other
Url:            https://savannah.gnu.org/projects/gnucobol
Source0:        
https://sourceforge.net/projects/open-cobol/files/gnu-cobol/%{_mver}/gnucobol-%{_over}.tar.xz
Source1:        %{name}.changes
# PATCH-FIX-OPENSUSE gnucobol-CFLAGS.patch -- fixes overreaching regex
Patch2:         gnucobol-CFLAGS.patch
BuildRequires:  db-devel
BuildRequires:  dos2unix
BuildRequires:  gmp-devel
BuildRequires:  help2man
BuildRequires:  makeinfo
BuildRequires:  ncurses-devel
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Provides:       opencobol = %{version}

%description
GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler.
cobc translates COBOL to executable using intermediate C sources,
providing full access to nearly all C libraries.

%package -n libcob%{sover}
Summary:        GnuCOBOL shared library
License:        LGPL-3.0+
Group:          Development/Languages/Other

%description -n libcob%{sover}
GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler.
cobc translates COBOL to executable using intermediate C sources,
providing full access to nearly all C libraries.

%package -n libcob-devel
Summary:        Include files for GnuCOBOL shared library
License:        LGPL-3.0+
Group:          Development/Languages/Other
Requires:       libcob%{sover} = %{version}

%description -n libcob-devel
GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler.
cobc translates COBOL to executable using intermediate C sources,
providing full access to nearly all C libraries.

%prep
%setup -q -n gnucobol-%{_over}
%patch2 -p1
# replace build date with date from changelog
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find .  -name '*.[ch]' |\
    xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
# fix EOL encoding
dos2unix ABOUT-NLS AUTHORS COPYING COPYING.DOC ChangeLog NEWS \
 README THANKS TODO COPYING.LESSER

%build
%configure \
        --enable-static=no
make %{?_smp_mflags}

%install
%make_install
# do not ship these
rm %{buildroot}%{_libdir}/libcob.la
%find_lang gnucobol

%check
make %{?_smp_mflags} check

%post
%install_info --info-dir=%{_infodir} %{_infodir}/gnucobol.info.gz

%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnucobol.info.gz

%post -n libcob%{sover} -p /sbin/ldconfig
%postun -n libcob%{sover} -p /sbin/ldconfig

%files -f gnucobol.lang
%defattr(-,root,root)
%doc ABOUT-NLS AUTHORS COPYING COPYING.DOC ChangeLog NEWS README THANKS TODO
%{_bindir}/cob-config
%{_bindir}/cobc
%{_bindir}/cobcrun
%{_datadir}/gnucobol
%{_infodir}/gnucobol.info%{ext_info}
%{_libdir}/gnucobol
%{_mandir}/man1/cobc.1%{ext_info}
%{_mandir}/man1/cobcrun.1%{ext_info}

%files -n libcob%{sover}
%defattr(-,root,root)
%doc COPYING.LESSER
%{_libdir}/libcob.so.%{sover}*

%files -n libcob-devel
%defattr(-,root,root)
%{_includedir}/libcob.h
%{_includedir}/libcob
%{_libdir}/libcob.so

%changelog
++++++ gnucobol-CFLAGS.patch ++++++
Index: gnucobol-3.0-rc1/configure
===================================================================
--- gnucobol-3.0-rc1.orig/configure
+++ gnucobol-3.0-rc1/configure
@@ -18460,7 +18460,7 @@ fi
 unset enable_cflags_setting
 
 if test "$enable_debug" != "yes" -a "x$CFLAGS" != "x"; then
-       CFLAGS=`echo "$CFLAGS" | sed -e 's/-g3//' -e 's/-g//' -e 's/^ //' -e 
's/ $//'`
+       CFLAGS=`echo "$CFLAGS" | sed -e 's/-g3//' -e 's/-g //' -e 's/^ //' -e 
's/ $//'`
 fi
 
 if test "$COB_USES_GCC" = "yes"; then
@@ -18564,7 +18564,7 @@ if test "x$CPPFLAGS" != "x"; then
        fi
 fi
 if test "x$cob_temp_flags" != "x"; then
-       cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-g3//' -e 's/-g//' 
-e 's/ $//' -e 's/^ //'`
+       cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-g3//' -e 's/-g //' 
-e 's/ $//' -e 's/^ //'`
        cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/[+-]O[0-9s]//' -e 
's/ $//' -e 's/^ //'`
        cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-O//' -e 's/ $//' -e 
's/^ //'`
        cob_temp_flags=`echo "$cob_temp_flags" | sed -e 
's/-fmessage-length=0//'`

Reply via email to