rpms/iw/devel iw.spec,1.17,1.18
John W. Linville
linville at fedoraproject.org
Thu Oct 1 18:49:43 UTC 2009
Author: linville
Update of /cvs/pkgs/rpms/iw/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12916
Modified Files:
iw.spec
Log Message:
Install in /sbin
Index: iw.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iw/devel/iw.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- iw.spec 4 Sep 2009 16:21:41 -0000 1.17
+++ iw.spec 1 Oct 2009 18:49:42 -0000 1.18
@@ -1,6 +1,6 @@
Name: iw
Version: 0.9.17
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A nl80211 based wireless configuration tool
Group: System Environment/Base
@@ -13,7 +13,8 @@ BuildRequires: kernel-devel >= 2.6.24
BuildRequires: libnl-devel >= 1.0
BuildRequires: pkgconfig
-Patch0: iw-avoid-section-type-conflict-on-ppc64.patch
+Patch0: iw-default-install-to-PREFIX-sbin.patch
+Patch1: iw-avoid-section-type-conflict-on-ppc64.patch
%description
iw is a new nl80211 based CLI configuration utility for wireless devices.
@@ -23,7 +24,8 @@ only because most new wireless devices b
%prep
%setup -q
-%patch0 -p1 -R
+%patch0 -p1
+%patch1 -p1 -R
%build
@@ -32,7 +34,7 @@ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FL
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX='' MANDIR=%{_mandir}
%clean
@@ -41,11 +43,14 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%{_bindir}/%{name}
+/sbin/%{name}
%{_datadir}/man/man8/iw.*
%doc COPYING
%changelog
+* Thu Oct 1 2009 John W. Linville <linville at redhat.com> 0.9.17-3
+- Install in /sbin
+
* Fri Sep 4 2009 John W. Linville <linville at redhat.com> 0.9.17-2
- Revert "separate commands into sections", section type conflicts on ppc64
More information about the fedora-extras-commits
mailing list