Sync from SUSE:SLFO:Main checkmedia revision 527b779b790e9e8a90a2972e30c182c1

This commit is contained in:
Adrian Schröter 2025-02-26 11:40:48 +01:00
parent f7367368e3
commit d418a12314
4 changed files with 36 additions and 12 deletions

BIN
checkmedia-6.1.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
checkmedia-6.3.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
--------------------------------------------------------------------
Tue Mar 5 17:39:47 UTC 2024 - wfeldt@opensuse.org
- merge gh#openSUSE/checkmedia#18
- tagmedia: fix size detection for block devices (bsc#1220972)
- 6.3
--------------------------------------------------------------------
Fri Jun 2 10:57:02 UTC 2023 - wfeldt@opensuse.org
- merge gh#openSUSE/checkmedia#17
- do not select EFI System Partition for digest calculation
(bsc#1211953)
- use default for SKIPSECTORS only for RH media
- add man pages for checkmedia and tagmedia
- add spec file for OBS
- 6.2
-------------------------------------------------------------------
Tue Nov 9 13:24:34 UTC 2021 - Steffen Winterfeldt <snwint@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package checkmedia
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,37 +17,38 @@
Name: checkmedia
Summary: Check SUSE installation media
Summary: Check installation or Live media
License: GPL-3.0-or-later
Group: System/Management
Version: 6.1
Version: 6.3
Release: 0
URL: https://github.com/openSUSE/checkmedia
Source: %{name}-%{version}.tar.xz
BuildRequires: gpg
BuildRequires: xz
BuildRequires: rubygem(asciidoctor)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The program checks SUSE installation media for errors.
The program checks installation or Live media for errors.
%define libversion %(echo %version | cut -d. -f1)
%package -n libmediacheck%{libversion}
Summary: Library for checking SUSE installation media
Summary: Library for checking installation or Live media
Group: System/Libraries
Requires: gpg
%description -n libmediacheck%{libversion}
Library for checking SUSE installation media. Used by checkmedia and linuxrc.
Library for checking installation or Live media. Used by checkmedia and linuxrc.
%package -n libmediacheck-devel
Summary: Library for checking SUSE installation media
Summary: Library for checking installation or Live media
Group: Development/Libraries/C and C++
Requires: libmediacheck%{libversion} = %version
%description -n libmediacheck-devel
Library for checking SUSE installation media. Used by checkmedia and linuxrc.
Library for checking installation or Live media. Used by checkmedia and linuxrc.
%prep
%setup
@ -61,6 +62,9 @@ make test
%install
install -d -m 755 %{buildroot}/usr/bin
%make_install
make doc
install -D -m 644 checkmedia.1 %{buildroot}%{_mandir}/man1/checkmedia.1
install -D -m 644 tagmedia.1 %{buildroot}%{_mandir}/man1/tagmedia.1
%post -n libmediacheck%{libversion} -p /sbin/ldconfig
@ -70,11 +74,13 @@ install -d -m 755 %{buildroot}/usr/bin
%defattr(-,root,root)
/usr/bin/checkmedia
/usr/bin/tagmedia
%doc %{_mandir}/man1/checkmedia.*
%doc %{_mandir}/man1/tagmedia.*
%files -n libmediacheck%{libversion}
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc README.adoc
%doc README.*
%doc mediacheck.md
%if 0%{?suse_version} >= 1500
%license COPYING