parent
1ea9fac37c
commit
fdd7d81f30
@ -1 +1 @@
|
||||
cmake-2.6.3.tar.gz
|
||||
cmake-2.6.4.tar.gz
|
||||
|
@ -1,19 +0,0 @@
|
||||
diff -ur cmake-2.6.3/Source/cmIncludeDirectoryCommand.cxx cmake-2.6.3-#475876/Source/cmIncludeDirectoryCommand.cxx
|
||||
--- cmake-2.6.3/Source/cmIncludeDirectoryCommand.cxx 2009-02-21 21:36:52.000000000 +0100
|
||||
+++ cmake-2.6.3-#475876/Source/cmIncludeDirectoryCommand.cxx 2009-03-09 02:55:46.000000000 +0100
|
||||
@@ -95,13 +95,13 @@
|
||||
|
||||
// remove any leading or trailing spaces and \r
|
||||
pos = ret.size()-1;
|
||||
- while(ret[pos] == ' ' || ret[pos] == '\r')
|
||||
+ while(ret.size() && (ret[pos] == ' ' || ret[pos] == '\r'))
|
||||
{
|
||||
ret.erase(pos);
|
||||
pos--;
|
||||
}
|
||||
pos = 0;
|
||||
- while(ret.size() && ret[pos] == ' ' || ret[pos] == '\r')
|
||||
+ while(ret.size() && (ret[pos] == ' ' || ret[pos] == '\r'))
|
||||
{
|
||||
ret.erase(pos,1);
|
||||
}
|
10
cmake.spec
10
cmake.spec
@ -7,8 +7,8 @@
|
||||
%define rcver %{nil}
|
||||
|
||||
Name: cmake
|
||||
Version: 2.6.3
|
||||
Release: 3%{?dist}
|
||||
Version: 2.6.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Cross-platform make system
|
||||
|
||||
Group: Development/Tools
|
||||
@ -18,7 +18,6 @@ Source0: http://www.cmake.org/files/v2.6/cmake-%{version}%{rcver}.tar.gz
|
||||
Source2: macros.cmake
|
||||
# fix crash during kdepimlibs build
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=475876
|
||||
Patch0: cmake-2.6.3-#475876.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: ncurses-devel, libX11-devel
|
||||
@ -53,7 +52,6 @@ The %{name}-gui package contains the Qt based GUI for CMake.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{rcver}
|
||||
%patch0 -p1 -b .475876
|
||||
# Fixup permissions
|
||||
find -name \*.h -o -name \*.cxx -print0 | xargs -0 chmod -x
|
||||
|
||||
@ -132,6 +130,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 29 2009 Orion Poplawski <orion@cora.nwra.com> - 2.6.4-1
|
||||
- Update to 2.6.4
|
||||
- Drop patch for bug #475876 fixed upstream
|
||||
|
||||
* Mon Mar 16 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.6.3-3
|
||||
- macros.cmake: +%%_cmake_version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user