- 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
This commit is contained in:
Steffen Winterfeldt 2019-07-17 08:31:34 +00:00 committed by Git OBS Bridge
parent c33ca69447
commit 99aff7f56d
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 17 08:29:09 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summaries.
- Drop redundant ldconfig PreReq.
-------------------------------------------------------------------- --------------------------------------------------------------------
Tue Jul 16 14:43:12 UTC 2019 - wfeldt@opensuse.org Tue Jul 16 14:43:12 UTC 2019 - wfeldt@opensuse.org

View File

@ -12,12 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: checkmedia
Summary: Check SUSE installation media Summary: Check SUSE installation media
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -26,15 +24,18 @@ Version: 5.0
Release: 0 Release: 0
Url: https://github.com/openSUSE/checkmedia Url: https://github.com/openSUSE/checkmedia
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
BuildRequires: gpg
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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} %package -n libmediacheck%{libversion}
Summary: Library for checking SUSE installation media Summary: Library for checking SUSE installation media
Group: System/Libraries Group: System/Libraries
PreReq: /sbin/ldconfig Requires: gpg
%description -n libmediacheck%{libversion} %description -n libmediacheck%{libversion}
Library for checking SUSE installation media. Used by checkmedia and linuxrc. Library for checking SUSE installation media. Used by checkmedia and linuxrc.
@ -58,11 +59,11 @@ make test
%install %install
install -d -m 755 %{buildroot}/usr/bin 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 %files
%defattr(-,root,root) %defattr(-,root,root)
@ -74,7 +75,7 @@ make install DESTDIR=%{buildroot}
%{_libdir}/*.so.* %{_libdir}/*.so.*
%doc README.md %doc README.md
%doc mediacheck.md %doc mediacheck.md
%doc COPYING %license COPYING
%files -n libmediacheck-devel %files -n libmediacheck-devel
%defattr(-,root,root) %defattr(-,root,root)