Hello community,

here is the log from the commit of package lshw for openSUSE:Factory checked in 
at 2020-02-05 19:42:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lshw (Old)
 and      /work/SRC/openSUSE:Factory/.lshw.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lshw"

Wed Feb  5 19:42:26 2020 rev:11 rq:770160 version:B.02.18+git.20190613

Changes:
--------
--- /work/SRC/openSUSE:Factory/lshw/lshw.changes        2019-10-24 
23:11:11.848664671 +0200
+++ /work/SRC/openSUSE:Factory/.lshw.new.26092/lshw.changes     2020-02-05 
19:42:42.519296459 +0100
@@ -1,0 +2,6 @@
+Wed Feb  5 08:37:14 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Fix bsc#1162690:
+  * lshw-add-notime-option-to-manpage.patch
+
+-------------------------------------------------------------------

New:
----
  lshw-add-notime-option-to-manpage.patch

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

Other differences:
------------------
++++++ lshw.spec ++++++
--- /var/tmp/diff_new_pack.dtbBWU/_old  2020-02-05 19:42:45.071297674 +0100
+++ /var/tmp/diff_new_pack.dtbBWU/_new  2020-02-05 19:42:45.091297684 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lshw
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -31,6 +31,7 @@
 Patch1:         lshw-display-latest-version.patch
 Patch2:         lshw-help-man.patch
 Patch3:         lshw-modified-time.patch
+Patch4:         lshw-add-notime-option-to-manpage.patch
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libpng-devel
@@ -79,13 +80,10 @@
 http://www.ezix.org/software/lshw.html
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 %build
-make \
+%make_build \
   SBINDIR="%{_sbindir}" \
   RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \
   STRIP=touch \
@@ -119,10 +117,9 @@
 %doc README.md docs/TODO docs/Changelog docs/lshw.xsd
 %attr(0755,root,root) %{_sbindir}/lshw
 %dir %{_datadir}/lshw
-%{_mandir}/man1/lshw.1%{ext_man}
+%{_mandir}/man1/lshw.1%{?ext_man}
 
 %files lang -f %{name}.lang
-%defattr(-,root,root)
 
 %files gui
 %defattr(-,root,root,0755)

++++++ lshw-add-notime-option-to-manpage.patch ++++++
>From 53d80a099d9b607f6104e4010f02d642decfa588 Mon Sep 17 00:00:00 2001
From: Brahadambal Srinivasan <[email protected]>
Date: Mon, 23 Dec 2019 11:59:39 +0530
Subject: [PATCH] add notime option to manpage

lshw man page and --help are not in sync and the 'notime' option 
is not present in man page.

This patch adds the option in the manpages.

Signed-off-by: Brahadambal Srinivasan <[email protected]>
---
 src/lshw.1 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lshw.1 b/src/lshw.1
index 79c3619..31ff77f 100644
--- a/src/lshw.1
+++ b/src/lshw.1
@@ -10,7 +10,7 @@ lshw \- list hardware
 .sp
 \fBlshw\fR [ \fB-X\fR ] 
 .sp
-\fBlshw\fR [ \fB [ -html ]  [ -short ]  [ -xml ]  [ -json ]  [ -businfo ] \fR 
]  [ \fB-dump \fIfilename\fB\fR ]  [ \fB-class \fIclass\fB\fR\fI...\fR ]  [ 
\fB-disable \fItest\fB\fR\fI...\fR ]  [ \fB-enable \fItest\fB\fR\fI...\fR ]  [ 
\fB-sanitize\fR ]  [ \fB-numeric\fR ]  [ \fB-quiet\fR ] 
+\fBlshw\fR [ \fB [ -html ]  [ -short ]  [ -xml ]  [ -json ]  [ -businfo ] \fR 
]  [ \fB-dump \fIfilename\fB\fR ]  [ \fB-class \fIclass\fB\fR\fI...\fR ]  [ 
\fB-disable \fItest\fB\fR\fI...\fR ]  [ \fB-enable \fItest\fB\fR\fI...\fR ]  [ 
\fB-sanitize\fR ]  [ \fB-numeric\fR ]  [ \fB-notime\fR ]  [ \fB-quiet\fR ] 
 .SH "DESCRIPTION"
 .PP
 
@@ -74,6 +74,8 @@ Remove potentially sensitive information from output (IP 
addresses, serial numbe
 .TP
 \fB-numeric\fR
 Also display numeric IDs (for PCI and USB devices).
+\fB-notime\fR
+exclude volatile attributes (timestamps) from output
 .SH "BUGS"
 .PP
 \fBlshw\fR currently does not detect 
-- 
2.18.1


Reply via email to