From 99aff7f56d661b37cbad362b00c457ade1b7f369ebfa3c2352fcbaf1d75c1d75 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Wed, 17 Jul 2019 08:31:34 +0000 Subject: [PATCH] - Use noun phrase in summaries. - Drop redundant ldconfig PreReq. OBS-URL: https://build.opensuse.org/package/show/system:install:head/checkmedia?expand=0&rev=49 --- checkmedia.changes | 6 ++++++ checkmedia.spec | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/checkmedia.changes b/checkmedia.changes index 255e6c4..969df01 100644 --- a/checkmedia.changes +++ b/checkmedia.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 17 08:29:09 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summaries. +- Drop redundant ldconfig PreReq. + -------------------------------------------------------------------- Tue Jul 16 14:43:12 UTC 2019 - wfeldt@opensuse.org diff --git a/checkmedia.spec b/checkmedia.spec index ff61073..09a367a 100644 --- a/checkmedia.spec +++ b/checkmedia.spec @@ -12,12 +12,10 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define libversion 4 - Name: checkmedia Summary: Check SUSE installation media License: GPL-3.0-or-later @@ -26,15 +24,18 @@ Version: 5.0 Release: 0 Url: https://github.com/openSUSE/checkmedia Source: %{name}-%{version}.tar.xz +BuildRequires: gpg BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Check SUSE installation media for errors. +The program checks SUSE installation media for errors. + +%define libversion %(echo %version | cut -d. -f1) %package -n libmediacheck%{libversion} Summary: Library for checking SUSE installation media Group: System/Libraries -PreReq: /sbin/ldconfig +Requires: gpg %description -n libmediacheck%{libversion} Library for checking SUSE installation media. Used by checkmedia and linuxrc. @@ -58,11 +59,11 @@ make test %install install -d -m 755 %{buildroot}/usr/bin -make install DESTDIR=%{buildroot} +%make_install -%post -n libmediacheck4 -p /sbin/ldconfig +%post -n libmediacheck%{libversion} -p /sbin/ldconfig -%postun -n libmediacheck4 -p /sbin/ldconfig +%postun -n libmediacheck%{libversion} -p /sbin/ldconfig %files %defattr(-,root,root) @@ -74,7 +75,7 @@ make install DESTDIR=%{buildroot} %{_libdir}/*.so.* %doc README.md %doc mediacheck.md -%doc COPYING +%license COPYING %files -n libmediacheck-devel %defattr(-,root,root)