diff --git a/b43-fwcutter-add-COPYING-file.patch b/b43-fwcutter-add-COPYING-file.patch new file mode 100644 index 0000000..b5c0679 --- /dev/null +++ b/b43-fwcutter-add-COPYING-file.patch @@ -0,0 +1,46 @@ +From 6d2b4e5f11ac4194bdf4d53c47006b88060ebfb8 Mon Sep 17 00:00:00 2001 +From: Michael Buesch +Date: Mon, 26 Jul 2010 20:15:25 +0200 +Subject: [PATCH] b43-fwcutter: add COPYING file + +Signed-off-by: Michael Buesch +--- + fwcutter/COPYING | 26 ++++++++++++++++++++++++++ + 1 files changed, 26 insertions(+), 0 deletions(-) + create mode 100644 fwcutter/COPYING + +diff --git a/fwcutter/COPYING b/fwcutter/COPYING +new file mode 100644 +index 0000000..0085efb +--- /dev/null ++++ b/fwcutter/COPYING +@@ -0,0 +1,26 @@ ++Unless otherwise indicated, the following notice applies to all ++files in the "b43-fwcutter" package: ++ ++ ++Redistribution and use in source and binary forms, with or without ++modification, are permitted provided that the following conditions ++are met: ++ ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ 2. Redistributions in binary form must reproduce the above ++ copyright notice, this list of conditions and the following ++ disclaimer in the documentation and/or other materials provided ++ with the distribution. ++ ++THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED ++WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY ++DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE ++GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS ++INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ++WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE ++OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ++EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-- +1.7.1.1 + diff --git a/b43-fwcutter.spec b/b43-fwcutter.spec index b4792ff..f570fac 100644 --- a/b43-fwcutter.spec +++ b/b43-fwcutter.spec @@ -1,6 +1,6 @@ Name: b43-fwcutter Version: 013 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Firmware extraction tool for Broadcom wireless driver Group: System Environment/Base @@ -9,6 +9,7 @@ URL: http://bu3sch.de/b43/fwcutter/ Source0: http://bu3sch.de/b43/fwcutter/%{name}-%{version}.tar.bz2 Source1: README.Fedora BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: b43-fwcutter-add-COPYING-file.patch %description This package contains the 'b43-fwcutter' tool which is used to @@ -20,6 +21,9 @@ instructions on using this tool. %prep %setup -q +# Add COPYING file +%patch0 -p2 + cp %{SOURCE1} . %build @@ -39,9 +43,12 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_bindir}/b43-fwcutter %{_mandir}/man1/* -%doc README README.Fedora +%doc COPYING README README.Fedora %changelog +* Mon Jul 26 2010 John W. Linville 013-2 +- Add COPYING file + * Mon Apr 19 2010 John W. Linville 013-1 - Update for b43-fwcutter-013