From c61f3d6f460b55b1398e73d6ef07ed00179c366ecd9f38f7b25464300a0166b8 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 17 Sep 2015 13:52:02 +0000 Subject: [PATCH] Accepting request 330041 from home:pluskalm:branches:Base:System - Cleanup spec file with spec-cleaner - Correct usage of info scriplets OBS-URL: https://build.opensuse.org/request/show/330041 OBS-URL: https://build.opensuse.org/package/show/Base:System/which?expand=0&rev=5 --- which.changes | 6 ++++++ which.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/which.changes b/which.changes index 8f50ffa..c7ee03c 100644 --- a/which.changes +++ b/which.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 9 12:31:06 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Correct usage of info scriplets + ------------------------------------------------------------------- Sun Mar 22 18:10:34 UTC 2015 - astieger@suse.com diff --git a/which.spec b/which.spec index b9c45d4..076620b 100644 --- a/which.spec +++ b/which.spec @@ -23,9 +23,9 @@ Summary: Displays where a particular program in your path is located License: GPL-3.0+ Group: System/Base Url: https://savannah.gnu.org/projects/which/ -Source: http://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz -# FIXME: use proper Requires(pre/post/preun/...) -PreReq: %{install_info_prereq} +Source0: http://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} Provides: util-linux:%{_bindir}/which BuildRoot: %{_tmppath}/%{name}-%{version}-build