diff --git a/fxload.spec b/fxload.spec index 2af24c6da4f0a1f6c0bedfa3fbd00c9b1ecfcf3b..ee7b400cb09b224ddd2c5927986b346f6b2aa930 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,6 +1,6 @@ Name: fxload Version: 2008_10_13 -Release: 19 +Release: 20 Summary: A program which downloads firmware to USB devices License: GPLv2+ URL: http://linux-hotplug.sourceforge.net/ @@ -26,7 +26,7 @@ This contains man files for the using of fxload. %autosetup -n %{name}-%{version} -p1 %build -make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +make CC=%{__cc} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install install -D -m 755 fxload %{buildroot}/sbin/fxload @@ -41,6 +41,9 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8 %{_mandir}/*/* %changelog +* Fri Mar 1 2024 luofeng - 2008_10_13-20 +- support clang build + * Thu May 19 2022 chengwenzhe - 2008_10_13-19 - fix spec changelog date time