Accepting request 125208 from home:jengelh:branches:hardware

- Remove redundant tags/sections from specfile

OBS-URL: https://build.opensuse.org/request/show/125208
OBS-URL: https://build.opensuse.org/package/show/hardware/wireless-tools?expand=0&rev=19
This commit is contained in:
Ismail Dönmez
2012-06-17 13:08:18 +00:00
committed by Git OBS Bridge
parent 2ecb172dc5
commit a067b52e4a
2 changed files with 17 additions and 16 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 7 10:49:08 UTC 2012 - jengelh@inai.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Tue Aug 23 19:04:04 CEST 2011 - dmueller@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package wireless-tools
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wireless-tools
BuildRequires: openssl-devel udev
Summary: Tools for a wireless LAN
License: GPL-2.0+
Group: Hardware/Wifi
%define major_version 30
Version: %{major_version}.pre9
Release: 19
Group: Hardware/Wifi
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Release: 0
Url: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
AutoReqProv: on
Source: wireless_tools.%{version}.tar.gz
Patch: wireless_tools.dif
Patch1: lwepgen-as-needed.patch
@@ -40,19 +36,22 @@ Source8: iwlwifi-led.sh
Source9: 99-iwlwifi-led.rules
Source10: iwl3945.modprobe
Source11: iwlagn.modprobe
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
BuildRequires: udev
Requires: libiw = %{version}
%package -n libiw30
License: GPLv2+
Summary: Tools for a wireless LAN
Group: Hardware/Wifi
Provides: libiw
%package -n libiw-devel
License: GPLv2+
Summary: Tools for a wireless LAN
Group: Hardware/Wifi
Requires: libiw30 = %{version} glibc-devel
Requires: glibc-devel
Requires: libiw30 = %{version}
%description
This package contains the wireless tools, used to manipulate the
@@ -109,7 +108,7 @@ make INSTALL_DIR="${RPM_BUILD_ROOT}/%{_sbindir}" \
DOCDIR=%{_defaultdocdir}/wireless-tools \
PREFIX="${RPM_BUILD_ROOT}/usr" \
install
tar xvvzf %{SOURCE2}
tar -xvvzf %{SOURCE2}
install -m755 install_intersil_firmware %{buildroot}/usr/sbin
install -m755 install_acx100_firmware %{buildroot}/usr/sbin
install -m755 ../lwepgen/lwepgen %{buildroot}/usr/sbin
@@ -126,9 +125,6 @@ mkdir -p %{buildroot}/etc/udev/rules.d
install -m644 %{SOURCE9} %{buildroot}/etc/udev/rules.d/99-iwlwifi-led.rules
%find_lang %{name} --with-man --all-name
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libiw30 -p /sbin/ldconfig
%postun -n libiw30 -p /sbin/ldconfig