OBS User unknown 2008-11-06 17:27:12 +00:00 committed by Git OBS Bridge
parent 950e16445b
commit db2f3b1bf8
3 changed files with 23 additions and 4 deletions

10
pcp-xenbuild.patch Normal file
View File

@ -0,0 +1,10 @@
--- configure.in
+++ configure.in
@@ -425,6 +425,7 @@
# Unix variants
$2 == 1 && / init/ { print "OK"; exit }
$2 == 1 && / \/etc\/init/ { print "OK"; exit }
+$2 == 1 && / \/bin\/bash/ { print "OK"; exit }
# Interix (aka SFU)
$2 == 0 && /IdleProcess/{ print "OK"; exit }
# Cygwin

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 6 17:23:58 CET 2008 - ro@suse.de
- fix build failure in obs
-------------------------------------------------------------------
Tue Oct 7 16:42:23 CEST 2008 - kukuk@suse.de

View File

@ -21,7 +21,7 @@
Name: pcp
BuildRequires: bison flex gcc-c++ ncurses-devel procps
Version: 2.5.0
Release: 125
Release: 126
Summary: Performance Co-Pilot (system-level performance monitoring)
License: GPL v2 or later
Url: http://oss.sgi.com/projects/pcp
@ -33,6 +33,7 @@ Patch2: pcp-%{version}-rpmlint.diff
Patch3: pcp-gcc43.patch
Patch4: pcp-init.patch
Patch5: pcp-2.5.0-buffer-overflow.diff
Patch6: pcp-xenbuild.patch
PreReq: %insserv_prereq %fillup_prereq permissions
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -70,6 +71,7 @@ Authors:
%patch3
%patch4
%patch5
%patch6
%build
%{suse_update_config -f}
@ -259,9 +261,11 @@ fi
exit 0
%changelog
* Thu Nov 06 2008 ro@suse.de
- fix build failure in obs
* Tue Oct 07 2008 kukuk@suse.de
- Fix possible buffer overflow
* Fri Aug 29 2008 cthiel@suse.de
* Thu Aug 28 2008 cthiel@suse.de
- fix init scripts
* Wed Dec 05 2007 ro@suse.de
- fix build with gcc-4.3
@ -299,7 +303,7 @@ exit 0
* Thu Jun 19 2003 nashif@suse.de
- Update to version 2.3.0
- Fixed file list
* Fri Apr 11 2003 ro@suse.de
* Thu Apr 10 2003 ro@suse.de
- fix build with coreutils
(deprecated calling syntax for head,tail,sort)
* Mon Jan 20 2003 ro@suse.de
@ -321,7 +325,7 @@ exit 0
* Thu Dec 06 2001 nashif@suse.de
- Removed START_ variable
- Changed escaped { to non escaped to stop awk from complaining
* Tue Jul 10 2001 nashif@suse.de
* Mon Jul 09 2001 nashif@suse.de
- Update to version 2.2.1
- Fixed bug # 9068
* Thu Jun 07 2001 nashif@suse.de