Accepting request 762162 from Base:System

- Update to version 2.20
  * Silent some gcc warnings, also avoid common variable (boo#1160385)
  * Include <sys/sysmacros.h> for makedev
  * sort input files (boo#1041090)
  * libconsole: never return empty list from getconsoles()
  * libconsole: Really allow to use /dev/console as a fallback in showconsole
  * libconsole: Add console into the list only when successfully allocated
  * libconsole: Correctly ignore early consoles
- Remove obsolate patch blog-Remove-unused-header.patch

OBS-URL: https://build.opensuse.org/request/show/762162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/blog?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-01-18 11:13:31 +00:00 committed by Git OBS Bridge
commit caddd1aeee
5 changed files with 19 additions and 32 deletions

View File

@ -1,22 +0,0 @@
From 9e1deae58be4391d611c41d89733b5f2678d3212 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Thu, 8 Aug 2019 15:53:04 +0200
Subject: [PATCH] Remove unused header <stropts.h>
---
blogd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/blogd.c b/blogd.c
index c1179ec..3635d4f 100644
--- a/blogd.c
+++ b/blogd.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <stropts.h>
#include <dirent.h>
#include <fcntl.h>
#include <termios.h>

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jan 9 11:34:47 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.20
* Silent some gcc warnings, also avoid common variable (boo#1160385)
* Include <sys/sysmacros.h> for makedev
* sort input files (boo#1041090)
* libconsole: never return empty list from getconsoles()
* libconsole: Really allow to use /dev/console as a fallback in showconsole
* libconsole: Add console into the list only when successfully allocated
* libconsole: Correctly ignore early consoles
- Remove obsolate patch blog-Remove-unused-header.patch
-------------------------------------------------------------------
Fri Aug 30 19:45:55 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package blog
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,14 @@
Name: blog
Version: 2.19
Version: 2.20
Release: 0
Summary: Boot logging
License: GPL-2.0-or-later
Group: System/Base
Url: https://github.com/bitstreamout/showconsole
URL: https://github.com/bitstreamout/showconsole
Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz
Source1: blog-rpmlintrc
# PATCH-FIX-UPSTREAM blog-Remove-unused-header.patch -- Fix build with new glibc
Patch0: blog-Remove-unused-header.patch
BuildRequires: suse-module-tools
Requires(post): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -76,7 +73,6 @@ the LSB startproc command.
%prep
%setup -q -n showconsole-%version
%patch0 -p1
%build
make %{?_smp_mflags} CC="%__cc" \

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe87631034fc6a7161b90b4be8624def1a5a938e496495934887f598dc3cb355
size 39957

3
showconsole-2.20.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58f7db17b3f72d237242c9f285db3765c136af16e7c89c0e93bad278d27562fd
size 39970