|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: fxload
|
|
|
|
Name: fxload
|
|
|
|
Version: 2008_10_13
|
|
|
|
Version: 2008_10_13
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Release: 21%{?dist}
|
|
|
|
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
|
|
|
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -15,9 +15,9 @@ Source0: fxload-%{version}-noa3load.tar.gz
|
|
|
|
# ./fxload-generate-tarball.sh 2008_10_13
|
|
|
|
# ./fxload-generate-tarball.sh 2008_10_13
|
|
|
|
Source1: fxload-generate-tarball.sh
|
|
|
|
Source1: fxload-generate-tarball.sh
|
|
|
|
Patch0: fxload-noa3load.patch
|
|
|
|
Patch0: fxload-noa3load.patch
|
|
|
|
Patch1: fxload-cflags-ldflags.patch
|
|
|
|
Patch1: fxload-ldflags.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc kernel-headers
|
|
|
|
BuildRequires: gcc kernel-headers make
|
|
|
|
Requires: udev
|
|
|
|
Requires: udev
|
|
|
|
Conflicts: hotplug-gtk hotplug
|
|
|
|
Conflicts: hotplug-gtk hotplug
|
|
|
|
|
|
|
|
|
|
|
@ -30,10 +30,10 @@ appears on the bus.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .fxload-noa3load
|
|
|
|
%patch0 -p1 -b .fxload-noa3load
|
|
|
|
%patch1 -p1 -b .cflags
|
|
|
|
%patch1 -p1 -b .ldflags
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
%{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS -pie"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p -m 755 %{buildroot}/sbin
|
|
|
|
mkdir -p -m 755 %{buildroot}/sbin
|
|
|
@ -42,13 +42,46 @@ mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/
|
|
|
|
install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
|
|
|
install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
|
|
|
|
%doc COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%doc README.txt
|
|
|
|
%doc README.txt
|
|
|
|
%attr(0755, root, root) /sbin/fxload
|
|
|
|
%attr(0755, root, root) /sbin/fxload
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2008_10_13-21
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2008_10_13-20
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* 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)
|
|
|
|
- Patch to apply CFLAGS/LDFLAGS to final link so RPM_OPT_FLAGS are picked up (rhbz#1548426)
|
|
|
|
- Use CC=gcc explicitly
|
|
|
|
- Use CC=gcc explicitly
|
|
|
|