SPECS: cmake.spec - fix ar detection - we shouldn't give a damn whether it'...

shadzik shadzik at pld-linux.org
Fri Aug 15 13:41:43 CEST 2008


Author: shadzik                      Date: Fri Aug 15 11:41:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix ar detection
- we shouldn't give a damn whether it's Index, Pindex, Srindex, index.[html,php,cgi,dupa] or anything else
  let http-daemon decide for us which one to choose
- rel 2

---- Files affected:
SPECS:
   cmake.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/cmake.spec
diff -u SPECS/cmake.spec:1.32 SPECS/cmake.spec:1.33
--- SPECS/cmake.spec:1.32	Fri Aug  8 12:33:37 2008
+++ SPECS/cmake.spec	Fri Aug 15 13:41:37 2008
@@ -13,13 +13,14 @@
 Summary(pl.UTF-8):	Wieloplatformowy system make o otwartych źródłach
 Name:		cmake
 Version:	2.6.1
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Building
 Source0:	http://www.cmake.org/files/v2.6/%{name}-%{version}.tar.gz
 # Source0-md5:	6717f4bc3cfcced4172ad98660ce7599
-Patch1:		%{name}-lib64.patch
-URL:		http://www.cmake.org/HTML/index.html
+Patch0:		%{name}-lib64.patch
+Patch1:		%{name}-ar.patch
+URL:		http://www.cmake.org/HTML/
 %{?with_gui:BuildRequires:	QtGui-devel}
 BuildRequires:	libstdc++-devel
 BuildRequires:	ncurses-devel
@@ -58,12 +59,12 @@
 %prep
 %setup -q
 %if "%{_lib}" == "lib64"
-%patch1 -p1
+%patch0 -p1
 %endif
+%patch1 -p0
 
 cat > "init.cmake" <<EOF
 SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
-SET (CMAKE_AR "%{__ar}" CACHE FILEPATH " " FORCE)
 EOF
 
 %build
@@ -117,6 +118,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2008/08/15 11:41:37  shadzik
+- fix ar detection
+- we shouldn't give a damn whether it's Index, Pindex, Srindex, index.[html,php,cgi,dupa] or anything else
+  let http-daemon decide for us which one to choose
+- rel 2
+
 Revision 1.32  2008/08/08 10:33:37  paszczus
 - typo in URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cmake.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list