[packages/iw] - avoid version.c regeneration

arekm arekm at pld-linux.org
Sat Feb 16 18:19:48 CET 2013


commit 9d421c0d09113532494a49b7afde68f7de80d860
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 16 18:19:45 2013 +0100

    - avoid version.c regeneration

 iw.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/iw.spec b/iw.spec
index 41bfc13..edb45f3 100644
--- a/iw.spec
+++ b/iw.spec
@@ -5,7 +5,7 @@ Version:	3.8
 Release:	4
 License:	BSD
 Group:		Networking/Admin
-Source0:	http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
+Source0:	http://kernel.org/pub/software/network/iw/%{name}-%{version}.tar.bz2
 # Source0-md5:	618ad1106a196fb1c3d827de96da437c
 URL:		http://wireless.kernel.org/en/users/Documentation/iw
 BuildRequires:	libnl-devel >= 1:3.2
@@ -25,6 +25,8 @@ narzędzie do konfiguracji urządzeń bezprzewodowych.
 %prep
 %setup -q
 
+sed -i -e 's#git rev-parse#false#g' version.sh
+
 %build
 CC="%{__cc}" \
 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iw.git/commitdiff/9d421c0d09113532494a49b7afde68f7de80d860



More information about the pld-cvs-commit mailing list