From 794226cb736736ddb8f35202d1f7a304a6bb7dad Mon Sep 17 00:00:00 2001 From: "beiling.xie" Date: Wed, 2 Nov 2022 14:50:25 +0800 Subject: [PATCH] fixup compile error Signed-off-by: beiling.xie --- yaffs2.spec | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/yaffs2.spec b/yaffs2.spec index 1693e66..254834b 100644 --- a/yaffs2.spec +++ b/yaffs2.spec @@ -1,11 +1,11 @@ Name: yaffs2 -Version:b4celbb +Version:b4ce1bb Release:1 Summary:an open-source file system for embedded use with NAND and Nor Flash. License:GPLv2 URL: http://www.alephl.co.uk/gitweb/?p=yaffs2.git;a=summary -Source0:http://www.aleohl.co.uk/gitweb/?p=yaffs2.git;a=snapshot;h=%{version};sf=tgz +Source0:%{name}-%{version}.tar.gz BuildRequires: gcc kernel-devel make module-init-tools glibc Requires:kernel @@ -16,21 +16,9 @@ robust and suitable for embedded use with NAND and NOR Flash. It is widely used with Linux, RTOSs, or no OS at all, in consumer devices, avionics, or on commercial terms from Aleph one. -%prep -%setup - -%build -%make_build - -%install -mkdir -p %{buildroot}/lib/modules/%{kern_ver}/ -cp %{buildroot}/yaffs2-b4celbb/yaffs2multi.ko %{buildroot}/lib/modules/%{kern_ver}/ -install -d %{buildroot}/etc/modules-load.d/ %{buildroot}/etc/modprobe.d/ - %files -%defattr(-,-,-,-) -/lib/modules/%{kern_ver}/yaffs2multi.ko %changelog +* Wed Nov 2 2022 beiling.xie - b4ce1bb-1 * Tue Feb 9 2021 tangchenyang - b4celbb-1 - init