Steffen Winterfeldt 2023-06-02 10:57:51 +00:00 committed by Git OBS Bridge
parent f6d8847aad
commit ecd79bdb08
4 changed files with 29 additions and 12 deletions

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

Binary file not shown.

3
checkmedia-6.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52852d52489b3ce14941f44da259b96012974edd4fb0979393501e1bd00fb73e
size 61712

View File

@ -1,3 +1,14 @@
--------------------------------------------------------------------
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> Tue Nov 9 13:24:34 UTC 2021 - Steffen Winterfeldt <snwint@suse.com>

View File

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