Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
fadd84a125
!25 [sync] PR-15: 【轻量级 PR】:fix spec changelog date time
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-09 11:20:05 +00:00
程文哲
4d2ae5da9e fix spec changelog date time
(cherry picked from commit 3b099506ace698f3ac7206704df8f16fd68a1b90)
2022-11-09 18:56:58 +08:00
openeuler-ci-bot
5d1149713a !12 [sync] PR-11: Synchronize Version
From: @openeuler-sync-bot
Reviewed-by: @wubo009
Signed-off-by: @wubo009
2021-09-29 02:52:27 +00:00
chenyanpanHW
d57ccfaa18 delete -S git from %autosetup, and delete BuildRequires git
(cherry picked from commit 05962fcc70ab516796de2d3c5378ed47e3e0f196)
2021-09-29 10:08:06 +08:00
zhouwenpei
229a372cff add buildrequire gcc
(cherry picked from commit 214921c581b87b3baa09564e1069b90a4b2220fc)
2021-09-29 10:08:06 +08:00
lihaotian9
9a35e66a1d fix source0 url
Conflicts:
	fxload.spec

(cherry picked from commit 1c29ca7cadb23c61e80591c3bb998e3efaf04793)
2021-09-29 10:08:06 +08:00
openeuler-ci-bot
660cd0b266 !7 update source0 url in spec file
Merge pull request !7 from lihaotian/new_lts
2020-09-03 15:48:30 +08:00
lihaotian9
bda7d72b29 Update the source0 url in spec file 2020-09-03 14:55:38 +08:00
openeuler-ci-bot
55e977725f !2 rePackage
Merge pull request !2 from hy/work
2020-01-08 14:50:57 +08:00
eulerstorage
747a7f9e80 rePackage 2020-01-07 22:38:20 +08:00
4 changed files with 22 additions and 61 deletions

View File

@ -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

View File

@ -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 $@

View File

@ -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}

View File

@ -1,15 +1,12 @@
Name: fxload
Version: 2008_10_13
Release: 13
Release: 19
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
Source0: https://netix.dl.sourceforge.net/project/linux-hotplug/fxload/2008_10_13/%{name}-%{version}.tar.gz
Patch0: 0000-fxload-noa3load.patch
Patch1: 0001-fxload-cflags-ldflags.patch
BuildRequires: git
BuildRequires: gcc
Requires: udev
%description
@ -26,7 +23,7 @@ Requires: man
This contains man files for the using of fxload.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
@ -44,5 +41,23 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8
%{_mandir}/*/*
%changelog
* Thu May 19 2022 chengwenzhe <chengwenzhe@uniontech.com> - 2008_10_13-19
- fix spec changelog date time
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2008_10_13-18
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2008_10_13-17
- add buildrequire gcc.
* Thu Sep 3 2020 lihaotian<lihaotian9@huawei.com> - 2008_10_13-16
- Fix source0 url
* Thu Sep 3 2020 lihaotian<lihaotian9@huawei.com> - 2008_10_13-15
- Update the source0 url
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-14
- rePackage
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-13
- Package init