Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package newsboat for openSUSE:Factory checked in at 2024-07-08 19:07:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/newsboat (Old) and /work/SRC/openSUSE:Factory/.newsboat.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newsboat" Mon Jul 8 19:07:24 2024 rev:31 rq:1185838 version:2.36 Changes: -------- --- /work/SRC/openSUSE:Factory/newsboat/newsboat.changes 2024-06-24 20:54:21.666653471 +0200 +++ /work/SRC/openSUSE:Factory/.newsboat.new.2080/newsboat.changes 2024-07-08 19:07:45.777648858 +0200 @@ -1,0 +2,6 @@ +Sat Jun 22 19:07:30 UTC 2024 - Joshua Smith <[email protected]> + +- Rework shebang script to reduce env-script-interpreter badness +- Replace most vendored C++ libraries with system ones + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ newsboat.spec ++++++ --- /var/tmp/diff_new_pack.8Pk8Lw/_old 2024-07-08 19:07:46.497675191 +0200 +++ /var/tmp/diff_new_pack.8Pk8Lw/_new 2024-07-08 19:07:46.501675337 +0200 @@ -44,6 +44,10 @@ BuildRequires: sqlite3-devel >= 3.5 BuildRequires: zlib-devel BuildRequires: rubygem(asciidoctor) +# Replacements of vendored C++ libraries +BuildRequires: nlohmann_json-devel +BuildRequires: expected-lite-devel +BuildRequires: optional-lite-devel Recommends: %{name}-lang Recommends: web_browser Provides: newsbeuter = %{version} @@ -60,16 +64,18 @@ %prep %autosetup -a3 -p1 mkdir cargo-home -sed -i 's/#!\/usr\/bin\/env perl/#!\/usr\/bin\/perl/' ./contrib/pinboard.pl -sed -i 's/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/' ./doc/examples/example-exec-script.py -sed -i 's/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/' ./contrib/exportOPMLWithTags.py -sed -i 's/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/' ./contrib/move_url.py -sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/python3/' ./contrib/newsboat_reorganize.py -sed -i 's/#!\/bin\/sh/#!\/usr\/bin\/bash/' ./doc/examples/example-bookmark-plugin.sh -sed -i 's/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/' ./contrib/image-preview/nbrun -sed -i 's/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/' ./contrib/image-preview/vifmimg -sed -i 's/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/' ./contrib/bookmark-buku.sh -sed -i 's/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/' ./contrib/kitty-img-pager.sh + +# Fix badness by replacing the env interpreter +sed -i 's|/bin/env |/bin/|' contrib/*.{pl,py,rb,sh} contrib/*/* doc/examples/* +sed -i 's|/bin/sh|/bin/bash|' ./doc/examples/example-bookmark-plugin.sh + +# Replace vendored C++ libraries with system ones +for lib in nlohmann/json nonstd/optional nonstd/expected +do + shortlib=$(echo ${lib} | sed 's|.*/||') + sed -i "s|3rd-party/${shortlib}.hpp|${lib}.hpp|" include/*.h src/*.cpp + rm 3rd-party/${shortlib}.hpp +done %build export CARGO_HOME=`pwd`/cargo-home/
