diff --git a/fxload.spec b/fxload.spec index b5fd134..2ecae3f 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,9 +1,9 @@ Name: fxload Version: 2008_10_13 -Release: 22%{?dist} +Release: 33%{?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: @@ -21,33 +21,61 @@ BuildRequires: gcc kernel-headers make Requires: udev Conflicts: hotplug-gtk hotplug -%description +%description This program is conveniently able to download firmware into FX and FX2 EZ-USB devices, as well as the original AnchorChips EZ-USB. It is intended to be invoked by udev scripts when the unprogrammed device appears on the bus. %prep -%setup -q -%patch0 -p1 -b .fxload-noa3load -%patch1 -p1 -b .ldflags +%setup -q +%patch -P0 -p1 -b .fxload-noa3load +%patch -P1 -p1 -b .ldflags -%build +%build %{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}/%{_mandir}/man8/ -install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/ +install -m 755 -Dt %{buildroot}%{_sbindir}/ fxload +install -m 644 -Dt %{buildroot}%{_mandir}/man8/ fxload.8 %files %doc COPYING %doc README.txt -%attr(0755, root, root) /sbin/fxload -%{_mandir}/*/* +%{_sbindir}/fxload +%{_mandir}/man8/fxload.8* %changelog +* Wed Oct 22 2025 Zbigniew Jędrzejewski-Szmek - 2008_10_13-33 +- Use %%_sbindir for the binary (rhbz#2405414) + +* Wed Jul 23 2025 Fedora Release Engineering - 2008_10_13-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 2008_10_13-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Dec 18 2024 Jaroslav Kysela - 2008_10_13-29 +- use /usr/sbin directory + +* Wed Jul 17 2024 Fedora Release Engineering - 2008_10_13-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 2008_10_13-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2008_10_13-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Sep 7 2023 Jaroslav Kysela - 2008_10_13-25 +- SPDX license + +* Wed Jul 19 2023 Fedora Release Engineering - 2008_10_13-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2008_10_13-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2008_10_13-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild