Hello community,

here is the log from the commit of package newsboat for openSUSE:Factory 
checked in at 2019-07-11 13:14:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/newsboat (Old)
 and      /work/SRC/openSUSE:Factory/.newsboat.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "newsboat"

Thu Jul 11 13:14:04 2019 rev:7 rq:713038 version:2.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/newsboat/newsboat.changes        2019-02-27 
17:28:12.131341150 +0100
+++ /work/SRC/openSUSE:Factory/.newsboat.new.4615/newsboat.changes      
2019-07-11 13:14:08.654855096 +0200
@@ -1,0 +2,30 @@
+Mon Jul  1 11:24:38 UTC 2019 - mvet...@suse.com
+
+- Update to 2.16.1:
+  Added:
+  * Install changelog and contrib/ alongside docs (Alexander Batischev) (#474)
+  * show-title-bar config option to hide the title bar. Defaults to yes, i.e.
+    the behaviour is the same as with Newsboat 2.15 (Sermak) (#375)
+  * Contrib scripts for image preview (Sermak) (#480)
+  * Nord colour scheme (Daryl Manning)
+  * Ability to search withing the search results, narrowing them down (Tumlinh)
+    (#327)
+  * Color scheme based on Adapta-Maia GTK theme (Lucas Parsy)
+  Changed:
+  * Marking feed as read only resets the cursor if article list is sorted by 
date
+    (Stefan Assmann)
+  * include also accepts relative paths (Marco Sirabella) (#489)
+  * Update vendored version of nlohmann/json to 3.6.1
+  * Update vendored version of Catch2 to 2.9.1
+  Fixed:
+  * Parser breaking on spaces inside backticks (Marco Sirabella) (#492)
+  * Hidden tags changing the title of their feeds (Alexander Batischev) (#498)
+  * Segfaults some time after using an invalid regex in a filter expression
+    (Alexander Batischev) (#501)
+  * Single quotes in podcast names replaced by %27 (屑鉄さらい;Scrap Trawler)
+    (#290, #457)
+  * Out-of-bounds access on empty "author" tag in RSS 0.9x (Alexander 
Batischev)
+    (#542)
+- Add newsboat-no-git-hash.patch: Don't depend on git. Fix build
+
+-------------------------------------------------------------------

Old:
----
  newsboat-2.14.1.tar.xz
  newsboat-2.14.1.tar.xz.asc

New:
----
  newsboat-2.16.1.tar.xz
  newsboat-2.16.1.tar.xz.asc
  newsboat-no-git-hash.patch

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

Other differences:
------------------
++++++ newsboat.spec ++++++
--- /var/tmp/diff_new_pack.OnHSry/_old  2019-07-11 13:14:10.690854257 +0200
+++ /var/tmp/diff_new_pack.OnHSry/_new  2019-07-11 13:14:10.690854257 +0200
@@ -12,21 +12,22 @@
 # 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/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:           newsboat
-Version:        2.14.1
+Version:        2.16.1
 Release:        0
 Summary:        RSS/Atom Feed Reader for Text Terminals
 License:        MIT
 Group:          Productivity/Networking/Web/Browsers
-Url:            https://newsboat.org
+URL:            https://newsboat.org
 Source:         
https://newsboat.org/releases/%{version}/%{name}-%{version}.tar.xz
 Source1:        
https://newsboat.org/releases/%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        https://newsboat.org/newsboat.pgp#/%{name}.keyring
 Source3:        vendor.tar.xz
+Patch0:         newsboat-no-git-hash.patch
 # pbleser: introduce OPTFLAGS make variable, instead of hard-coded -ggdb
 Patch1:         newsbeuter-makefile.patch
 BuildRequires:  asciidoc
@@ -59,6 +60,7 @@
 
 %prep
 %setup -qa3
+%patch0 -p1
 %patch1 -p1
 mkdir cargo-home
 cat >cargo-home/config <<EOF
@@ -68,6 +70,7 @@
 [source.vendored-sources]
 directory = './vendor'
 EOF
+sed -i 's/#!\/usr\/bin\/env perl/#!\/usr\/bin\/perl/' ./contrib/pinboard.pl
 
 %build
 export CARGO_HOME=`pwd`/cargo-home/
@@ -92,10 +95,11 @@
 %{_bindir}/%{name}
 %{_bindir}/podboat
 %dir %{_docdir}/%{name}/examples
-%{_docdir}/%{name}/examples/config
+%{_docdir}/%{name}/examples
 %{_docdir}/%{name}/docbook-xsl.css
 %{_docdir}/%{name}/faq.html
 %{_docdir}/%{name}/%{name}.html
+%{_docdir}/%{name}/contrib/
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_mandir}/man1/podboat.1%{?ext_man}
 

++++++ newsboat-2.14.1.tar.xz -> newsboat-2.16.1.tar.xz ++++++
++++ 70042 lines of diff (skipped)

++++++ newsboat-no-git-hash.patch ++++++
>From 413955540528b66702bf47e4e4d916240d22f43c Mon Sep 17 00:00:00 2001
From: Alexander Batischev <eual...@gmail.com>
Date: Sat, 29 Jun 2019 17:11:50 +0300
Subject: [PATCH] Do not fail libnewsboat build if git hash couldn't be
 obtained

Cirrus CI apparently deletes .git directory before the build. We want
our build script to work even without .git, though, so let's not call
`unwrap()` there.
---
 rust/libnewsboat/build.rs | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/rust/libnewsboat/build.rs b/rust/libnewsboat/build.rs
index d92fa35b..bb8d80a9 100644
--- a/rust/libnewsboat/build.rs
+++ b/rust/libnewsboat/build.rs
@@ -2,13 +2,13 @@ use std::process::Command;
 
 fn main() {
     // Code lifted from https://stackoverflow.com/a/44407625/2350060
-    // Panics in build script stop the build, which is fine by us - let's use 
unwrap() freely here.
-    let hash_output = Command::new("git")
+    if let Ok(hash_output) = Command::new("git")
         .args(&["describe", "--abbrev=4", "--dirty", "--always", "--tags"])
         .output()
-        .unwrap();
-    let hash = String::from_utf8_lossy(&hash_output.stdout);
-    println!("cargo:rustc-env=GIT_HASH={}", hash);
-    // Re-build this crate when Git HEAD changes. Idea lifted from vergen 
crate.
-    println!("cargo:rebuild-if-changed=.git/HEAD");
+    {
+        let hash = String::from_utf8_lossy(&hash_output.stdout);
+        println!("cargo:rustc-env=GIT_HASH={}", hash);
+        // Re-build this crate when Git HEAD changes. Idea lifted from vergen 
crate.
+        println!("cargo:rebuild-if-changed=.git/HEAD");
+    }
 }

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/newsboat/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.newsboat.new.4615/vendor.tar.xz differ: char 25, 
line 1


Reply via email to