public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/snownews] rawhide: Update to v1.11
Date: Wed, 04 Nov 2026 23:20:20 GMT	[thread overview]
Message-ID: <179383442079.1.12724870456993816806.rpms-snownews-529d2e03f521@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/snownews
Branch : rawhide
Commit : 529d2e03f52192c1521aca8eb07ce7726046a02f
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-11-04T21:37:00+01:00
Stats  : +40/-20 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/snownews/c/529d2e03f52192c1521aca8eb07ce7726046a02f?branch=rawhide

Log:
Update to v1.11

---
diff --git a/.gitignore b/.gitignore
index e2de42b..f4e3854 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ snownews-1.5.12.tar.gz
 /snownews-1.7.tar.gz
 /snownews-1.8.tar.gz
 /snownews-1.9.tar.gz
+/snownews-1.11.tar.gz

diff --git a/0000-no-strip.patch b/0000-no-strip.patch
new file mode 100644
index 0000000..48364e7
--- /dev/null
+++ b/0000-no-strip.patch
@@ -0,0 +1,13 @@
+--- snownews-1.11--orig/Config.mk.in	2023-04-13 01:38:01.000000000 +0200
++++ snownews-1.11/Config.mk.in	2026-11-04 21:33:54.293982215 +0100
+@@ -30,9 +30,9 @@
+     cflags	:= -O0 -ggdb3
+     ldflags	:= -g -rdynamic
+ else
+     cflags	:= -Os -g0 -DNDEBUG=1
+-    ldflags	:= -s
++    ldflags	:=
+ endif
+ cflags		+= -Wall -Wextra -Wredundant-decls -Wshadow \
+ 		   -std=c11 @pkg_cflags@ ${CFLAGS}
+ ldflags		+= @pkg_ldflags@ ${LDFLAGS}

diff --git a/0001-print-format.patch b/0001-print-format.patch
new file mode 100644
index 0000000..4940d4b
--- /dev/null
+++ b/0001-print-format.patch
@@ -0,0 +1,14 @@
+diff -rU4 snownews-1.11--orig/dialog.c snownews-1.11/dialog.c
+--- snownews-1.11--orig/dialog.c	2023-04-13 01:38:01.000000000 +0200
++++ snownews-1.11/dialog.c	2026-11-04 21:27:00.018961524 +0100
+@@ -270,9 +270,9 @@
+     if (current_feed->feedcategories == NULL)
+ 	addstr (_("none"));
+     else {
+ 	char* categories = GetCategoryList (current_feed);
+-	printw (categories);
++	printw ("%s", categories);
+ 	free (categories);
+     }
+ 
+     // Tell user if feed uses auth, but don't display the string.

diff --git a/snownews-debugflags.patch b/snownews-debugflags.patch
deleted file mode 100644
index 3af7eee..0000000
--- a/snownews-debugflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Config.mk.in	2021-04-12 10:54:36.120860743 +0200
-+++ b/Config.mk.in	2021-04-12 14:30:56.637020085 +0200
-@@ -30,8 +30,8 @@
-     cflags	:= -O0 -ggdb3
-     ldflags	:= -g -rdynamic
- else
--    cflags	:= -Os -g0 -DNDEBUG=1
--    ldflags	:= -s
-+    cflags	:= -Os -g0 -DNDEBUG=1 -ggdb3 -fPIE
-+    ldflags	:= -g
- endif
- CFLAGS		:= -Wall -Wextra -Wredundant-decls -Wshadow
- cflags		+= -std=c11 @pkg_cflags@ ${CFLAGS}

diff --git a/snownews.spec b/snownews.spec
index 0f14237..b63798d 100644
--- a/snownews.spec
+++ b/snownews.spec
@@ -1,12 +1,13 @@
 Name:		snownews
-Version: 	1.9
-Release: 	15%{?dist}
+Version: 	1.11
+Release: 	1%{?dist}
 Summary: 	A text mode RSS/RDF newsreader
 # Automatically converted from old format: GPLv3 - review is highly recommended.
 License: 	GPL-3.0-only
 Url:		https://github.com/msharov/snownews
-Source0:	https://github.com/msharov/snownews/archive/v%{version}/snownews-%{version}.tar.gz
-Patch0:		snownews-debugflags.patch
+Source0:	https://downloads.sourceforge.net/sourceforge/snownews/files/snownews-1.11.tar.gz
+Patch0:		0000-no-strip.patch
+Patch1:		0001-print-format.patch
 BuildRequires:	make
 BuildRequires:	gcc
 BuildRequires:	libxml2-devel
@@ -24,11 +25,12 @@ for XML parsing. ncurses must be at least version 5.0. It should work
 with any version of libxml2.
 
 %prep
-%setup -q
-%patch -P0 -p1
+%autosetup -p1
 
 %build
+export CFLAGS="${CFLAGS} -fPIE"
 %configure
+%make_build
 
 %install
 make DESTDIR="$RPM_BUILD_ROOT" PREFIX="$RPM_BUILD_ROOT%{_prefix}" install
@@ -41,6 +43,9 @@ make DESTDIR="$RPM_BUILD_ROOT" PREFIX="$RPM_BUILD_ROOT%{_prefix}" install
 %{_mandir}/*/man1/*
 
 %changelog
+* Wed Nov 04 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.11-1
+- Update to v1.11
+
 * Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9-15
 - Rebuilt for libxml-2.5.4
 

diff --git a/sources b/sources
index 4f5cc1e..a84f0cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (snownews-1.9.tar.gz) = f833dbb41b5c0215c034b8388d787398360fac0ec9670f8f31b76c3ee2ffd974b4c6ebebc30aebb539b9904f513628124b393f4f473a92d4969f483caeca8596
+SHA512 (snownews-1.11.tar.gz) = ce7e282405a1c0cc5adb64906193886fc9592607f3bdce474ff8b179d23569cbd66d08c33a06290b3729bc158cd38abf0f6c6147f49937b9e4b6949bf690a1f8

                 reply	other threads:[~2026-11-04 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179383442079.1.12724870456993816806.rpms-snownews-529d2e03f521@fedoraproject.org \
    --to=fedora@svgames.pl \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox