add BR gcc, remove Group:, BuildRoot: and rm -rf in install section
This commit is contained in:
parent
cc399b4695
commit
4316feb357
14
fxload.spec
14
fxload.spec
@ -1,9 +1,8 @@
|
||||
Name: fxload
|
||||
Version: 2008_10_13
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
||||
|
||||
Group: System Environment/Kernel
|
||||
License: GPLv2+
|
||||
URL: http://linux-hotplug.sourceforge.net/
|
||||
Source0: fxload-%{version}-noa3load.tar.gz
|
||||
@ -16,9 +15,8 @@ Source0: fxload-%{version}-noa3load.tar.gz
|
||||
# ./fxload-generate-tarball.sh 2008_10_13
|
||||
Source1: fxload-generate-tarball.sh
|
||||
Patch0: fxload-noa3load.patch
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: kernel-headers
|
||||
BuildRequires: gcc kernel-headers
|
||||
Requires: udev
|
||||
Conflicts: hotplug-gtk hotplug
|
||||
|
||||
@ -36,15 +34,11 @@ appears on the bus.
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
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/
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc COPYING
|
||||
@ -53,6 +47,10 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 18 2018 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-2
|
||||
- add BR gcc
|
||||
- remove Group:, BuildRoot: and rm -rf in install section
|
||||
|
||||
* Mon Jun 16 2014 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-1
|
||||
- update to 2008_10_13 to support Cypress EZ-USB FX2LP parts (rhbz#1102654)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user