Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package snobol4 for openSUSE:Factory checked 
in at 2023-04-05 21:25:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/snobol4 (Old)
 and      /work/SRC/openSUSE:Factory/.snobol4.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "snobol4"

Wed Apr  5 21:25:24 2023 rev:1 rq:1077194 version:2.3.1

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

--- /dev/null   2023-02-22 12:27:01.349233259 +0100
+++ /work/SRC/openSUSE:Factory/.snobol4.new.19717/snobol4.changes       
2023-04-05 21:25:25.991074598 +0200
@@ -0,0 +1,14 @@
+-------------------------------------------------------------------
+Tue Apr  4 08:29:44 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Fix build: also package /usr/bin/snobol4-%{version}
+
+-------------------------------------------------------------------
+Mon Mar 27 22:18:08 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Port to openSUSE
+
+-------------------------------------------------------------------
+Sun Mar 26 00:00:00 UTC 2023 - Tom Callaway <s...@fedoraproject.org>
+
+- initial package

New:
----
  snobol4-2.3.1-configure-no-opt.patch
  snobol4-2.3.1.tar.gz
  snobol4.changes
  snobol4.spec

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

Other differences:
------------------
++++++ snobol4.spec ++++++
#
# spec file for package snobol4
#
# Copyright (c) 2023 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/
#


%global _smp_mflags -j1
%global optflags %{optflags} -Wno-error=unused-result 
-Wno-error=unused-but-set-variable -Wno-error=restrict 
-Wno-error=unused-variable -Wno-error=maybe-uninitialized 
-Wno-error=uninitialized
Name:           snobol4
Version:        2.3.1
Release:        0
Summary:        A port of Macro SNOBOL4
License:        BSD-2-Clause
URL:            https://www.regressive.org/snobol4/csnobol4/curr/
Source0:        https://ftp.regressive.org/snobol4/%{name}-%{version}.tar.gz
# Do not hardcode -O3.
Patch1:         snobol4-2.3.1-configure-no-opt.patch
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  gdbm-devel
BuildRequires:  libbz2-devel
BuildRequires:  libedit-devel
BuildRequires:  m4
BuildRequires:  make
BuildRequires:  openssl-devel
BuildRequires:  readline-devel
BuildRequires:  sqlite-devel
BuildRequires:  tcl-devel
BuildRequires:  xz-devel
BuildRequires:  zlib-devel

%description
This is a free port of the original SIL (SNOBOL4 Implementation
Language) "macro" version of SNOBOL4 (developed at Bell Labs) with the
`C' language as a target.

SNOBOL4, while known primarily as a string language excels at any task
involving symbolic manipulations.  It provides dynamic typing, garbage
collection, user data types, on the fly compilation.

%package devel
Summary:        Development files for snobol4
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel
Development files for snobol4.

%prep
%autosetup -p1

# Remove version control files
rm -r doc/CVS doc/.cvsignore

%build
# This isn't a real configure script, hence, no macro.
./configure --add-cflags="%{optflags}" --add-cppflags="%{optflags}" 
--prefix=%{_prefix} --mandir=%{_mandir} --snolibdir=%{_libdir}/snobol4 
--with-tcl=%{_libdir}/tclConfig.sh
%make_build

%install
%make_install

# all in libdir? What is this, 1985? Oh wait, this is SNOBOL, so maybe 1969.
mkdir -p %{buildroot}%{_includedir}/snobol4
mv %{buildroot}%{_libdir}/%{name}/%{version}/include/* 
%{buildroot}%{_includedir}/snobol4
pushd %{buildroot}%{_libdir}/%{name}/%{version}/
rm -rf include
ln -s ../../../include/snobol4 include
popd

# We rather install doc/ ourselves
rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}
rm -rf %{buildroot}%{_libdir}/%{name}/%{version}/CHANGES 
%{buildroot}%{_libdir}/%{name}/%{version}/README

%files
%doc CHANGES README doc/
%license COPYRIGHT
%{_bindir}/sdb*
%{_bindir}/snobol4
%{_bindir}/snobol4-%{version}
%{_bindir}/snopea*
%{_libdir}/snobol4/
%exclude %{_libdir}/snobol4/%{version}/include
%{_mandir}/man1/sdb.1%{?ext_man}
%{_mandir}/man1/snobol4*.1%{?ext_man}
%{_mandir}/man1/snopea.1%{?ext_man}
%{_mandir}/man3/snolib.3%{?ext_man}
%{_mandir}/man3/snobol4*.3%{?ext_man}
%{_mandir}/man7/snopea.7%{?ext_man}

%files devel
%{_includedir}/%{name}
%{_libdir}/snobol4/%{version}/include

%changelog

++++++ snobol4-2.3.1-configure-no-opt.patch ++++++
diff -up snobol4-2.3.1/configure.noopt snobol4-2.3.1/configure
--- snobol4-2.3.1/configure.noopt       2023-03-26 13:12:22.826650002 -0400
+++ snobol4-2.3.1/configure     2023-03-26 13:12:33.679794072 -0400
@@ -453,7 +453,7 @@ gcc|clang|icc)
     CCVERS=-v
     # was -M: -MM existed in gcc 3.4
     echo 'CCM=$(CC) -MM'                       >> $CONFIG_M4
-    OPT=-O3
+    # OPT=-O3
 
     # on by default in clang??
     echo 'ADD_CFLAGS([-Wall])'                 >> $CONFIG_M4

Reply via email to