SHA256
1
0
forked from pool/mtd-utils
mtd-utils/mtd-utils.spec
Martin Pluskal 334f324162 - Update to version 2.1.2:
* Features:
    + flashcp: Add option -A/--erase-all
    + mtd-utils: add optional offset parameter to flash_otp_dump
    + ubi-utils: Implement a ubihealthd
    + mkfs.ubifs: Add authentication support
  * Fixes:
    + ubifs-media: Update to Linux-5.3-rc3
    + mtd-utils: Fix return value of ubiformat
    + ubiupdatevol: Prevent null pointer dereference
    + libubigen: remove unnecessary include
    + libubi: remove private kernel header from includes
    + mkfs.ubifs: fscrypt: bail from encrypt_block if gen_essiv_salt fails
    + mkfs.ubifs: abort add_directory if readdir fails
    + mkfs.ubifs: close file descriptor in add_file error path
    + mkfs.ubifs: don't leak copied command line arguments
    + mkfs.ubifs: free derived fscrypt context in add_directory error paths
    + mkfs.ubifs: don't leak hastable iterators
    + mkfs.ubifs: don't leak temporary buffers
    + mkfs.ubifs: propperly cleanup in ALL interpret_table_entry error paths
    + mkfs.jffs2: don't leak temporary buffer if readlink fails
    + libmtd: don't leak temporary buffers
    + ftl_check: don't leak temporary buffers
    + ftl_format: don't leak temporary buffers
    + ubiformat: don't leak file descriptors
    + nanddump: don't leak copied command line arguments
    + mtd_debug: cleanup error handling in flash_to_file
    + jittertest: fix error check for open system call
    + fs-tests: don't leak temporary buffers
    + mtd-utils: Fix printf format specifiers with the wrong type

OBS-URL: https://build.opensuse.org/package/show/filesystems/mtd-utils?expand=0&rev=21
2020-11-05 08:57:45 +00:00

105 lines
2.8 KiB
RPMSpec

#
# spec file for package mtd-utils
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mtd-utils
Version: 2.1.2
Release: 0
Summary: Tools for maintaining Memory Technology Devices
License: GPL-2.0-or-later
Group: System/Filesystems
URL: http://www.linux-mtd.infradead.org/
Source0: ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-%{version}.tar.bz2
Source1: ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-%{version}.tar.bz2.asc
Source2: %{name}.keyring
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libacl)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(lzo2)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(zlib)
Supplements: filesystem(jffs2)
Supplements: filesystem(ubifs)
%description
This package contains tools for erasing and formatting flash devices,
including JFFS2, M-Systems DiskOnChip devices, etc.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc ubifs-utils/mkfs.ubifs/README
%{_sbindir}/doc_loadbios
%{_sbindir}/docfdisk
%{_sbindir}/flash_erase
%{_sbindir}/flash_eraseall
%{_sbindir}/flash_lock
%{_sbindir}/flash_otp_dump
%{_sbindir}/flash_otp_info
%{_sbindir}/flash_otp_lock
%{_sbindir}/flash_otp_write
%{_sbindir}/flash_unlock
%{_sbindir}/flashcp
%{_sbindir}/ftl_check
%{_sbindir}/ftl_format
%{_sbindir}/jffs2dump
%{_sbindir}/jffs2reader
%{_sbindir}/lsmtd
%{_sbindir}/mkfs.jffs2
%{_sbindir}/mkfs.ubifs
%{_sbindir}/mtd_debug
%{_sbindir}/mtdinfo
%{_sbindir}/mtdpart
%{_sbindir}/nanddump
%{_sbindir}/nandtest
%{_sbindir}/nandwrite
%{_sbindir}/nftl_format
%{_sbindir}/nftldump
%{_sbindir}/recv_image
%{_sbindir}/rfddump
%{_sbindir}/rfdformat
%{_sbindir}/serve_image
%{_sbindir}/sumtool
%{_sbindir}/ubiattach
%{_sbindir}/ubiblock
%{_sbindir}/ubicrc32
%{_sbindir}/ubidetach
%{_sbindir}/ubihealthd
%{_sbindir}/ubiformat
%{_sbindir}/ubimkvol
%{_sbindir}/ubinfo
%{_sbindir}/ubinize
%{_sbindir}/ubirename
%{_sbindir}/ubirmvol
%{_sbindir}/ubirsvol
%{_sbindir}/ubiupdatevol
%{_mandir}/man1/mkfs.jffs2.1%{?ext_man}
%{_mandir}/man8/lsmtd.8%{?ext_man}
%{_mandir}/man8/ubinize.8%{?ext_man}
%changelog