Accepting request 619766 from system:install:head

submitted by snwint via jenkins

OBS-URL: https://build.opensuse.org/request/show/619766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkmedia?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2018-07-02 21:29:32 +00:00 committed by Git OBS Bridge
commit 9e6cdc1e99
4 changed files with 63 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b07912e27f6c09352c0fcff6997c0771d60f2868f29e2b930140ab57585571d
size 35244

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07a2c329d145beb4f50787e190fb5fc30e88ac319e45e1b626479495c61629e6
size 45664

View File

@ -1,3 +1,21 @@
--------------------------------------------------------------------
Fri Jun 29 10:55:47 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/checkmedia#6
- change tagmedia to also store checksum over partition
(bsc#1000947)
- update Makefile
- update documentation
- rewrite checkmedia to use new mediacheck library
- digestdemo: add simple demo tool for libmediacheck usage
- mediacheck library header file
- mediacheck library code
- add test tool for mediachecks
- test data
- enhance code
- fix typo in tagmedia
- 4.0
--------------------------------------------------------------------
Thu Apr 26 14:44:26 UTC 2018 - wfeldt@opensuse.org

View File

@ -16,18 +16,36 @@
#
%define libversion 4
Name: checkmedia
Summary: Check Installation Media
License: GPL-3.0+
Summary: Check SUSE installation media
License: GPL-3.0-or-later
Group: System/Management
Version: 3.8
Version: 4.0
Release: 0
Url: https://github.com/wfeldt/checkmedia.git
Url: https://github.com/openSUSE/checkmedia
Source: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Checks installation CDs and DVDs for errors.
Check SUSE installation media for errors.
%package -n libmediacheck%{libversion}
Summary: Library for checking SUSE installation media
Group: System/Libraries
PreReq: /sbin/ldconfig
%description -n libmediacheck%{libversion}
Library for checking SUSE installation media. Used by checkmedia and linuxrc.
%package -n libmediacheck-devel
Summary: Library for checking SUSE installation 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.
%prep
%setup
@ -35,15 +53,32 @@ Checks installation CDs and DVDs for errors.
%build
make %{?_smp_mflags}
%check
make test
%install
install -d -m 755 %{buildroot}/usr/bin
make install DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}/usr/bin
make install DESTDIR=%{buildroot}
%post -n libmediacheck4 -p /sbin/ldconfig
%postun -n libmediacheck4 -p /sbin/ldconfig
%files
%defattr(-,root,root)
/usr/bin/checkmedia
/usr/bin/tagmedia
%files -n libmediacheck%{libversion}
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc README.md
%doc mediacheck.md
%doc COPYING
%files -n libmediacheck-devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/mediacheck.h
%changelog