Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hcode for openSUSE:Factory checked in at 2023-10-05 20:03:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hcode (Old) and /work/SRC/openSUSE:Factory/.hcode.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hcode" Thu Oct 5 20:03:30 2023 rev:16 rq:1115534 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/hcode/hcode.changes 2011-10-06 16:03:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hcode.new.28202/hcode.changes 2023-10-05 20:04:18.873230554 +0200 @@ -1,0 +2,5 @@ +Sun Oct 1 02:38:24 UTC 2023 - Marguerite Su <[email protected]> + +- fix build: strcasestr now comes with string.h + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hcode.spec ++++++ --- /var/tmp/diff_new_pack.KjMHsB/_old 2023-10-05 20:04:20.269280989 +0200 +++ /var/tmp/diff_new_pack.KjMHsB/_new 2023-10-05 20:04:20.269280989 +0200 @@ -1,7 +1,7 @@ # # spec file for package hcode # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -12,35 +12,24 @@ # 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/ # -# norootforbuild - Name: hcode -License: GPL-2.0+ -Group: System/I18n/Korean -AutoReqProv: on -Summary: Hangul Code Conversion Utilities (hcode, hdcode) Version: 2.1 -Release: 655 +Release: 0 +Summary: Hangul Code Conversion Utilities (hcode, hdcode) +License: GPL-2.0-or-later +Group: System/I18n/Korean Source0: hcode2.1-mailpatch3.tar.gz Source1: hdcode.c Patch1: hcode2.1-mailpatch3-ksc5601.patch Patch2: fix-implicit-declarations.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Hangul code conversion utilities (hcode, hdcode). - - -Authors: --------- - Jungshik Shin <[email protected]> - Sang-yong Suh <[email protected]> - %prep %setup -q -n hcode2.1-mailpatch3 cp -f %{SOURCE1} . @@ -48,20 +37,16 @@ %patch2 -p1 %build -make CC="%__cc" CFLAGS="$RPM_OPT_FLAGS" -%__cc $RPM_OPT_FLAGS -D_MAIN -DCLEAN_QP -o hdcode hdcode.c +%make_build CFLAGS="%{optflags}" +gcc %{optflags} -D_MAIN -DCLEAN_QP -o hdcode hdcode.c %install -mkdir -p %{buildroot}%{_prefix}/bin -install -m 755 hcode %{buildroot}%{_prefix}/bin/hcode -install -m 755 hdcode %{buildroot}%{_prefix}/bin/hdcode - -%clean -rm -rf %{buildroot} +mkdir -p %{buildroot}%{_bindir} +install -m 755 hcode %{buildroot}%{_bindir}/hcode +install -m 755 hdcode %{buildroot}%{_bindir}/hdcode %files -n hcode -%defattr(-,root,root,-) %doc CHANGES README README.elm README.mailpatch README.pine -%{_prefix}/bin/hcode -%{_prefix}/bin/hdcode +%{_bindir}/hcode +%{_bindir}/hdcode ++++++ hdcode.c ++++++ --- /var/tmp/diff_new_pack.KjMHsB/_old 2023-10-05 20:04:20.313282579 +0200 +++ /var/tmp/diff_new_pack.KjMHsB/_new 2023-10-05 20:04:20.317282724 +0200 @@ -368,7 +368,7 @@ return 0; } -static char *strcasestr(buf, str) +/*static char *strcasestr(buf, str) char *buf; char *str; { @@ -380,7 +380,7 @@ if (strncasecmp(buf, str, lenstr) == 0) return buf; return NULL; -} +}*/ static char *get_mpb_string(ibuf) char *ibuf;
