From b27abed8ef154644fab22d59dc3c2b18f077297d60295d5fe216384eaa2f06ae Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 16 Jul 2015 09:53:31 +0000 Subject: [PATCH] Accepting request 316290 from home:pluskalm:branches:Base:System - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/316290 OBS-URL: https://build.opensuse.org/package/show/Base:System/hostap-utils?expand=0&rev=10 --- hostap-utils.changes | 5 +++++ hostap-utils.spec | 20 +++++++------------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/hostap-utils.changes b/hostap-utils.changes index 92bd348..9de960b 100644 --- a/hostap-utils.changes +++ b/hostap-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 12 16:08:35 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Wed Oct 8 13:15:53 UTC 2014 - jengelh@inai.de diff --git a/hostap-utils.spec b/hostap-utils.spec index 684173d..941c71e 100644 --- a/hostap-utils.spec +++ b/hostap-utils.spec @@ -1,7 +1,7 @@ # # spec file for package hostap-utils # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,28 +23,22 @@ Summary: Tools for Prism2 cards License: GPL-2.0+ Group: Hardware/Wifi Url: http://hostap.epitest.fi/ -Source: http://w1.fi/releases/%name-%version.tar.gz -Patch: hostap-utils.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: http://w1.fi/releases/%{name}-%{version}.tar.gz +Patch0: hostap-utils.diff BuildRequires: openssl-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains various tools for configuring Prism2 cards driven by the HostAP kernel module. In particular, it contains a utility to query and flash firmware of Prism2 adapters. - - -Authors: --------- - Jouni Malinen - %prep -%setup -%patch -p1 +%setup -q +%patch0 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" make %{?_smp_mflags} +CFLAGS="%{optflags}" CC="gcc" make %{?_smp_mflags} %install mkdir -p %{buildroot}/%{_sbindir}