From 4dcb6151fadb2c65f5e0cca0e4bb348e17189a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 16 Apr 2018 09:26:08 +0200 Subject: [PATCH] - fix FTBFS --- lsscsi-0.28-sysmacros.patch | 11 +++++++++++ lsscsi.spec | 9 +++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 lsscsi-0.28-sysmacros.patch diff --git a/lsscsi-0.28-sysmacros.patch b/lsscsi-0.28-sysmacros.patch new file mode 100644 index 0000000..2b8b4b1 --- /dev/null +++ b/lsscsi-0.28-sysmacros.patch @@ -0,0 +1,11 @@ +diff -up lsscsi-0.28/src/lsscsi.c.sysmacros lsscsi-0.28/src/lsscsi.c +--- lsscsi-0.28/src/lsscsi.c.sysmacros 2018-04-14 20:54:14.000000000 +0200 ++++ lsscsi-0.28/src/lsscsi.c 2018-04-14 20:54:27.000000000 +0200 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/lsscsi.spec b/lsscsi.spec index 70406c6..9189538 100644 --- a/lsscsi.spec +++ b/lsscsi.spec @@ -1,10 +1,12 @@ Summary: List SCSI devices (or hosts) and associated information Name: lsscsi Version: 0.28 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/System Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz +# fixed in https://github.com/hreinecke/lsscsi/commit/45b4bb13519a782df4d0a4dca471e0d576a6b87d +Patch0: %{name}-0.28-sysmacros.patch URL: http://sg.danny.cz/scsi/lsscsi.html %description @@ -19,7 +21,7 @@ Author: %prep -%setup -q +%autosetup -p1 %build @@ -38,6 +40,9 @@ make DESTDIR=%{buildroot} install %changelog +* Mon Apr 16 2018 Dan HorĂ¡k - 0.28-8 +- fix FTBFS + * Thu Feb 08 2018 Fedora Release Engineering - 0.28-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild