From 6ca116a141c497a34aae1298198c03ca55e5ac2abc7e3b84ead39b80085a959c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 5 Jun 2013 17:11:28 +0000 Subject: [PATCH 1/2] Want usleep OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=16 --- pv.changes | 5 +++++ pv.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/pv.changes b/pv.changes index 1cea815..b273f93 100644 --- a/pv.changes +++ b/pv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 5 17:11:16 UTC 2013 - jengelh@inai.de + +- Add explicit BuildRequires for usleep + ------------------------------------------------------------------- Fri Jan 25 03:26:52 UTC 2013 - jengelh@inai.de diff --git a/pv.spec b/pv.spec index c9459a7..c1caaf0 100644 --- a/pv.spec +++ b/pv.spec @@ -37,6 +37,8 @@ BuildRequires: gpg-offline %endif BuildRequires: intltool BuildRequires: make +# The testsuite wants the "usleep" utility +BuildRequires: sysvinit-tools %description PV ("Pipe Viewer") is a tool for monitoring the progress of data through a From 0c8fe3db7b3c83e451873273855a563e12d4e9e80b301ef0957e152507fa031a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 5 Jun 2013 17:13:37 +0000 Subject: [PATCH 2/2] Want usleep OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=17 --- pv.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pv.spec b/pv.spec index c1caaf0..391ac1b 100644 --- a/pv.spec +++ b/pv.spec @@ -37,8 +37,12 @@ BuildRequires: gpg-offline %endif BuildRequires: intltool BuildRequires: make +%if 0%{?suse_version} && 0%{?suse_version} <= 1200 # The testsuite wants the "usleep" utility +BuildRequires: sysvinit +%else BuildRequires: sysvinit-tools +%endif %description PV ("Pipe Viewer") is a tool for monitoring the progress of data through a