Compare commits
10 Commits
12883ca752
...
78e00fa56d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78e00fa56d | ||
|
|
99a45e0a26 | ||
|
|
577707bb72 | ||
|
|
7c1b5a8cb4 | ||
|
|
a8c764377c | ||
|
|
3cab80f7b6 | ||
|
|
ac32cf9b07 | ||
|
|
3794b9be6d | ||
|
|
50451ee438 | ||
|
|
1b81ac8e7a |
@ -0,0 +1,31 @@
|
||||
From 6fb10bd18488ed84776675bc1b2982800a51d839 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Aug 2022 20:14:38 -0700
|
||||
Subject: [mtd-utils][PATCH] tests: Remove unused linux/fs.h header from includes
|
||||
|
||||
This header is not needed, moreover it includes linux/mount.h which is
|
||||
now in conflict[1] with glibc provided sys/mount.h from glibc 2.36 onwards
|
||||
|
||||
[1] https://sourceware.org/glibc/wiki/Release/2.36
|
||||
|
||||
Upstream-Status: Submitted [https://lists.infradead.org/pipermail/linux-mtd/2022-August/094667.html]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tests/fs-tests/lib/tests.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c
|
||||
index d1a2e0c..3db0426 100644
|
||||
--- a/tests/fs-tests/lib/tests.c
|
||||
+++ b/tests/fs-tests/lib/tests.c
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <sys/vfs.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/statvfs.h>
|
||||
-#include <linux/fs.h>
|
||||
#include <linux/jffs2.h>
|
||||
|
||||
#include "tests.h"
|
||||
--
|
||||
2.37.1
|
||||
|
||||
Binary file not shown.
BIN
mtd-utils-2.1.4.tar.bz2
Normal file
BIN
mtd-utils-2.1.4.tar.bz2
Normal file
Binary file not shown.
@ -1,10 +1,11 @@
|
||||
Name: mtd-utils
|
||||
Version: 2.1.1
|
||||
Release: 2%{?dist}
|
||||
Version: 2.1.4
|
||||
Release: 2
|
||||
License: GPLv2+
|
||||
Summary: Utilities for dealing with MTD (flash) devices
|
||||
URL: http://www.linux-mtd.infradead.org/
|
||||
Source0: ftp://ftp.infradead.org/pub/mtd-utils/%{name}-%{version}.tar.bz2
|
||||
Patch0001: 0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
@ -39,6 +40,12 @@ Summary: Utilities for dealing with misc
|
||||
The mtd-utils-misc package contains utilities for manipulating misc on
|
||||
MTD (flash) devices.
|
||||
|
||||
%package test
|
||||
Summary: Test utilities for mtd-utils
|
||||
|
||||
%description test
|
||||
Various test programs related to mtd-utils
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -59,12 +66,14 @@ MTD (flash) devices.
|
||||
%{_sbindir}/mtd_debug
|
||||
%{_sbindir}/mtdinfo
|
||||
%{_sbindir}/mtdpart
|
||||
%{_sbindir}/fectest
|
||||
%{_mandir}/*/*
|
||||
|
||||
|
||||
%files ubifs
|
||||
%{_sbindir}/ubi*
|
||||
%{_sbindir}/mkfs.ubifs
|
||||
%{_sbindir}/mount.ubifs
|
||||
|
||||
%files jffs2
|
||||
%{_sbindir}/jffs2*
|
||||
@ -84,6 +93,21 @@ MTD (flash) devices.
|
||||
%{_sbindir}/serve_image
|
||||
%{_sbindir}/recv_image
|
||||
|
||||
%files test
|
||||
%{_libexecdir}/mtd-utils/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 10 2022 wangqing <wangqing151@huawei.com> - 2.1.4-2
|
||||
- Modified the strategy of building rpms in .spec, and added a patch from openembedded.
|
||||
|
||||
* Thu Aug 4 2022 wangqing <wangqing151@huawei.com> - 2.1.4-1
|
||||
- Update tar from 2.1.2 to 2.1.4.
|
||||
|
||||
* Mon Aug 1 2022 wangqing <wangqing151@huawei.com> - 2.1.2-1
|
||||
- Update tar from 2.1.1 to 2.1.2.
|
||||
|
||||
* Mon Dec 13 2021 heyitao <heyitao@uniontech.com> - 0.6.0-3
|
||||
- Remove the dist tag in the version.
|
||||
|
||||
* Fri Dec 28 2020 kechengsong <kechengsong@huawei.com> - 2.1.1-1
|
||||
- package init
|
||||
|
||||
4
mtd-utils.yaml
Normal file
4
mtd-utils.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: git://git.infradead.org/mtd-utils.git
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user