rpms/libpfm/devel libpfm-3.4-unused.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 sources, 1.9, 1.10 libpfm.spec, 1.30, 1.31

William Eden Cohen (wcohen) fedora-extras-commits at redhat.com
Fri May 2 15:15:48 UTC 2008


Author: wcohen

Update of /cvs/pkgs/rpms/libpfm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18477

Modified Files:
	.cvsignore sources libpfm.spec 
Added Files:
	libpfm-3.4-unused.patch 
Log Message:
* Fri May 2 2008 Will Cohen <wcohen at redhat.com> - 3.4-1
- Update to libpfm-3.4.



libpfm-3.4-unused.patch:

--- NEW FILE libpfm-3.4-unused.patch ---
diff -up libpfm-3.4/examples/self_pipe.c.unused libpfm-3.4/examples/self_pipe.c
--- libpfm-3.4/examples/self_pipe.c.unused	2008-05-02 09:49:25.000000000 -0400
+++ libpfm-3.4/examples/self_pipe.c	2008-05-02 09:49:40.000000000 -0400
@@ -125,6 +125,7 @@ main(int argc, char **argv)
 	size_t len;
 	char *name;
 	char c = '0';
+	int nbytes;
 
 	/*
 	 * pass options to library (optional)
@@ -312,8 +313,8 @@ main(int argc, char **argv)
 	 * ping pong loop
 	 */
 	while(!quit) {
-		write(pr[1], "c", 1);
-		read(pw[0], &c, 1);	
+		nbytes = write(pr[1], "c", 1);
+		nbytes = read(pw[0], &c, 1);	
 	}
 
 	if (pfm_stop(ctx_fd))


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libpfm/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	26 Feb 2008 02:49:52 -0000	1.9
+++ .cvsignore	2 May 2008 15:15:12 -0000	1.10
@@ -1 +1 @@
-libpfm-3.3.tar.gz
+libpfm-3.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libpfm/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	26 Feb 2008 02:49:52 -0000	1.9
+++ sources	2 May 2008 15:15:12 -0000	1.10
@@ -1 +1 @@
-3adb81688dd908f1482cec77d04a73ab  libpfm-3.3.tar.gz
+e0b1a02027e9e251ee9ad5bccc6c313a  libpfm-3.4.tar.gz


Index: libpfm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpfm/devel/libpfm.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- libpfm.spec	26 Feb 2008 16:33:35 -0000	1.30
+++ libpfm.spec	2 May 2008 15:15:12 -0000	1.31
@@ -1,9 +1,9 @@
-%define DATE 080225
-%define libpfm_release 2
+%define DATE 080502
+%define libpfm_release 1
 Summary: A performance monitoring library for Linux/ia64
 Name: libpfm
-Version: 3.3
-Release: 0.%{DATE}.%{libpfm_release}%{?dist}
+Version: 3.4
+Release: %{libpfm_release}%{?dist}
 License: MIT-style
 Group: Development/Libraries
 ExclusiveArch: ia64 %{ix86} x86_64
@@ -15,6 +15,7 @@
 Patch3: libpfm-3.2-rpm_opt.patch
 #Patch4: libpfm-3.2-man3.patch
 Patch5: libpfm-3.3-ia64-build.patch
+Patch6: libpfm-3.4-unused.patch
 
 BuildRequires: ncurses-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -42,6 +43,7 @@
 %patch3 -p1 -b .rpm_opt
 #%patch4 -p1 -b .man3
 %patch5 -p1 -b .ia64build
+%patch6 -p1 -b .unused
 
 %build
 make	PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
@@ -70,6 +72,9 @@
 %{_prefix}/include/*
 
 %changelog
+* Fri May 2 2008 Will Cohen <wcohen at redhat.com> - 3.4-1
+- Update to libpfm-3.4.
+
 * Tue Feb 26 2008 Will Cohen <wcohen at redhat.com> - 3.3-0.080225.2
 - Correct possibly unitialized variable umask. Resolves: rhbz #434968
 




More information about the fedora-extras-commits mailing list