Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
SOURCES/fxload-2008_10_13-noa3load.tar.gz
|
||||
fxload-2002_04_11-noa3load.tar.gz
|
||||
/fxload-2008_10_13-noa3load.tar.gz
|
||||
|
@ -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 $@
|
11
fxload-header.patch
Normal file
11
fxload-header.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ezusb.c 2002-04-12 06:08:01.000000000 +0200
|
||||
+++ ezusb.c.new 2006-12-07 23:57:04.000000000 +0100
|
||||
@@ -29,7 +29,7 @@
|
||||
# include <sys/ioctl.h>
|
||||
|
||||
# include <linux/version.h>
|
||||
-# include <linux/usb.h>
|
||||
+# include <linux/usb/ch9.h>
|
||||
# include <linux/usbdevice_fs.h>
|
||||
|
||||
# include "ezusb.h"
|
12
fxload-ldflags.patch
Normal file
12
fxload-ldflags.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN fxload-2008_10_13.orig/Makefile fxload-2008_10_13/Makefile
|
||||
--- fxload-2008_10_13.orig/Makefile 2008-10-13 23:44:04.000000000 +0200
|
||||
+++ fxload-2008_10_13/Makefile 2020-11-03 16:05:41.516974652 +0100
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
# object files
|
||||
$(PROG): $(FILES_OBJ)
|
||||
- $(CC) -o $(PROG) $(FILES_OBJ)
|
||||
+ $(CC) $(LDFLAGS) -o $(PROG) $(FILES_OBJ)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
80
fxload.spec
80
fxload.spec
@ -1,9 +1,9 @@
|
||||
Name: fxload
|
||||
Version: 2008_10_13
|
||||
Release: 10%{?dist}
|
||||
Release: 30%{?dist}
|
||||
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
||||
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://linux-hotplug.sourceforge.net/
|
||||
Source0: fxload-%{version}-noa3load.tar.gz
|
||||
# The above file is derived from:
|
||||
@ -15,9 +15,9 @@ Source0: fxload-%{version}-noa3load.tar.gz
|
||||
# ./fxload-generate-tarball.sh 2008_10_13
|
||||
Source1: fxload-generate-tarball.sh
|
||||
Patch0: fxload-noa3load.patch
|
||||
Patch1: fxload-cflags-ldflags.patch
|
||||
Patch1: fxload-ldflags.patch
|
||||
|
||||
BuildRequires: gcc kernel-headers
|
||||
BuildRequires: gcc kernel-headers make
|
||||
Requires: udev
|
||||
Conflicts: hotplug-gtk hotplug
|
||||
|
||||
@ -30,25 +30,85 @@ appears on the bus.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .fxload-noa3load
|
||||
%patch1 -p1 -b .cflags
|
||||
%patch1 -p1 -b .ldflags
|
||||
|
||||
%build
|
||||
make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
%{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS -pie"
|
||||
|
||||
%install
|
||||
mkdir -p -m 755 %{buildroot}/sbin
|
||||
install -m 755 fxload %{buildroot}/sbin
|
||||
mkdir -p -m 755 %{buildroot}/usr/sbin
|
||||
install -m 755 fxload %{buildroot}/usr/sbin
|
||||
mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/
|
||||
install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc COPYING
|
||||
%doc README.txt
|
||||
%attr(0755, root, root) /sbin/fxload
|
||||
%attr(0755, root, root) /usr/sbin/fxload
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 18 2024 Jaroslav Kysela <perex@perex.cz> - 2008_10_13-30
|
||||
- use /usr/sbin directory
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2008_10_13-29
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2008_10_13-28
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Sep 7 2023 Jaroslav Kysela <perex@perex.cz> - 2008_10_13-25
|
||||
- SPDX license
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Dec 08 2020 Charles R. Anderson <cra@alum.wpi.edu> - 2008_10_13-18
|
||||
- BR: make
|
||||
|
||||
* Tue Dec 08 2020 Charles R. Anderson <cra@alum.wpi.edu> - 2008_10_13-17
|
||||
- Merge PR#2: Make annocheck pass, pass -pie to linker, use make_build macro
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Feb 03 2020 Tom Stellard <tstellar@redhat.com> - 2008_10_13-15
|
||||
- Use __cc macro instead of hard-coding gcc
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Feb 25 2018 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-10
|
||||
- Patch to apply CFLAGS/LDFLAGS to final link so RPM_OPT_FLAGS are picked up (rhbz#1548426)
|
||||
- Use CC=gcc explicitly
|
||||
|
@ -1,7 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
||||
|
Loading…
Reference in New Issue
Block a user