From 747a7f9e80ffb7236374665ed16178edbdf0376e Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Tue, 7 Jan 2020 22:37:18 +0800 Subject: [PATCH] rePackage --- 0000-fxload-noa3load.patch | 34 -------------------------------- 0001-fxload-cflags-ldflags.patch | 12 ----------- fxload-generate-tarball.sh | 8 -------- fxload.spec | 8 ++++---- 4 files changed, 4 insertions(+), 58 deletions(-) delete mode 100644 0000-fxload-noa3load.patch delete mode 100644 0001-fxload-cflags-ldflags.patch delete mode 100644 fxload-generate-tarball.sh diff --git a/0000-fxload-noa3load.patch b/0000-fxload-noa3load.patch deleted file mode 100644 index e18b732..0000000 --- a/0000-fxload-noa3load.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -up fxload-2008_10_13/fxload.8.fxload-noa3load fxload-2008_10_13/fxload.8 ---- fxload-2008_10_13/fxload.8.fxload-noa3load 2008-10-13 17:44:04.000000000 -0400 -+++ fxload-2008_10_13/fxload.8 2018-02-25 23:33:18.717749708 -0500 -@@ -224,15 +224,6 @@ and some firmware can't be placed in boo - .B DEVICE - normally names a "usbfs" file that will be used to talk to the device. - This is provided by the Linux kernel as part of USB hotplugging. --.SH "FILES" --.TP --.I /usr/share/usb/a3load.hex --Second stage loader that works with AnchorChips EZ-USB, --Cypress EZ-USB FX, and Cypress EZ-USB FX2. --Note that this only supports the 0xA3 vendor command, to --write external memory. --A loader that also supports the 0xA2 command, to write boot EEPROMs, --is included with Cypress developer kits. - .SH "SEE ALSO" - .BR hotplug "(8) " - .SH "AUTHORS" -diff -up fxload-2008_10_13/README.txt.fxload-noa3load fxload-2008_10_13/README.txt ---- fxload-2008_10_13/README.txt.fxload-noa3load 2008-10-13 17:44:04.000000000 -0400 -+++ fxload-2008_10_13/README.txt 2018-02-25 23:33:18.717749708 -0500 -@@ -11,11 +11,6 @@ firmware on devices which boot from I2C - use, as well as downloading firmware to all other off-chip memory, - a second stage loader must first be downloaded. - --The distribution includes "a3load.hex", which is a simple second stage --loader that works with all the EZ-USB products listed above. If you --want to write to an EEPROM, you can use the appropriate version of the --"Vend_Ax" code provided with the Cypress developer kit. -- - - UPDATES - diff --git a/0001-fxload-cflags-ldflags.patch b/0001-fxload-cflags-ldflags.patch deleted file mode 100644 index ce7e7ed..0000000 --- a/0001-fxload-cflags-ldflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up fxload-2008_10_13/Makefile.cflags fxload-2008_10_13/Makefile ---- fxload-2008_10_13/Makefile.cflags 2008-10-13 17:44:04.000000000 -0400 -+++ fxload-2008_10_13/Makefile 2018-02-25 23:11:02.416103160 -0500 -@@ -39,7 +39,7 @@ release: rpms - - # object files - $(PROG): $(FILES_OBJ) -- $(CC) -o $(PROG) $(FILES_OBJ) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(FILES_OBJ) - - %.o: %.c - $(CC) -c $(CFLAGS) $< -o $@ diff --git a/fxload-generate-tarball.sh b/fxload-generate-tarball.sh deleted file mode 100644 index 223c2b0..0000000 --- a/fxload-generate-tarball.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -VERSION=$1 - -tar -xzvf fxload-${VERSION}.tar.gz -rm fxload-${VERSION}/a3load.hex -tar -czvf fxload-${VERSION}-noa3load.tar.gz fxload-${VERSION} - diff --git a/fxload.spec b/fxload.spec index 78ce1d1..94a27d6 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,14 +1,11 @@ Name: fxload Version: 2008_10_13 -Release: 13 +Release: 14 Summary: A program which downloads firmware to USB devices License: GPLv2+ URL: http://linux-hotplug.sourceforge.net/ Source0: https://sourceforge.net/projects/linux-hotplug/files/fxload/2008_10_13/%{name}-%{version}.tar.gz -Patch0: 0000-fxload-noa3load.patch -Patch1: 0001-fxload-cflags-ldflags.patch - BuildRequires: git Requires: udev @@ -44,5 +41,8 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8 %{_mandir}/*/* %changelog +* Mon Jan 7 2020 openEuler Buildteam - 2008_10_13-14 +- rePackage + * Wed Sep 11 2019 openEuler Buildteam - 2008_10_13-13 - Package init -- Gitee