rpms/coredumper/F-9 coredumper-remove_linux_dirent_h.patch, NONE, 1.1 coredumper.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rakesh Pandit rakesh at fedoraproject.org
Sat Sep 6 07:09:08 UTC 2008


Author: rakesh

Update of /cvs/pkgs/rpms/coredumper/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21681/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	coredumper-remove_linux_dirent_h.patch coredumper.spec 
	import.log 
Log Message:
initial package import


coredumper-remove_linux_dirent_h.patch:

--- NEW FILE coredumper-remove_linux_dirent_h.patch ---
Common subdirectories: coredumper-1.2.1.org/src/google and coredumper-1.2.1/src/google
diff -u coredumper-1.2.1.org/src/linux_syscall_support_unittest.cc coredumper-1.2.1/src/linux_syscall_support_unittest.cc
--- coredumper-1.2.1.org/src/linux_syscall_support_unittest.cc	2008-08-31 23:57:40.000000000 +0530
+++ coredumper-1.2.1/src/linux_syscall_support_unittest.cc	2008-08-31 23:58:45.000000000 +0530
@@ -62,7 +62,6 @@
 #include <asm/posix_types.h>
 #include <asm/types.h>
 #include <errno.h>
-#include <linux/dirent.h>
 #include <linux/types.h>
 #include <linux/unistd.h>
 #include <signal.h>
@@ -91,8 +90,6 @@
   // there are a small number of data structures (e.g "struct
   // kernel_old_sigaction") that we cannot test at all, as glibc does
   // not have any definitions for them.
-  CHECK(sizeof(struct dirent64)  == sizeof(struct kernel_dirent64));
-  CHECK(sizeof(struct dirent)    == sizeof(struct kernel_dirent));
   CHECK(sizeof(struct iovec)     == sizeof(struct kernel_iovec));
   CHECK(sizeof(struct msghdr)    == sizeof(struct kernel_msghdr));
   CHECK(sizeof(struct pollfd)    == sizeof(struct kernel_pollfd));
diff -u coredumper-1.2.1.org/src/linuxthreads.c coredumper-1.2.1/src/linuxthreads.c
--- coredumper-1.2.1.org/src/linuxthreads.c	2008-08-31 23:57:40.000000000 +0530
+++ coredumper-1.2.1/src/linuxthreads.c	2008-08-31 23:59:06.000000000 +0530
@@ -49,7 +49,6 @@
 #include <asm/fcntl.h>
 #include <asm/posix_types.h>
 #include <asm/types.h>
-#include <linux/dirent.h>
 
 #include "linux_syscall_support.h"
 #include "thread_lister.h"


--- NEW FILE coredumper.spec ---
Name:           coredumper
Version:        1.2.1
Release:        6%{?dist}
Summary:        Library to create core dumps

Group:          Development/Tools
License:        BSD
URL:            http://code.google.com/p/google-%{name}/
Source0:        http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0:         coredumper-remove_linux_dirent_h.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  binutils, gdb

# Primary Architectures with exclude arch bug number
ExcludeArch:    ia64  #462342
ExcludeArch:    ppc   #461340
ExcludeArch:    ppc64 #461341

# Secondary Architectures
ExcludeArch:    s390, sparc, alpha

%description
The coredumper library can be compiled into applications to create
core dumps of the running program -- without terminating. It supports
both single- and multi-threaded core dumps, even if the kernel does
not natively support multi-threaded core files.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries

Requires:       %{name} = %{version}-%{release}

%description devel
This package contains development files for %{name}.

%prep
%setup -q

%patch0 -p1 -b .remove_linux_dirent_h

%build
%configure --enable-static=no

# Omit unused direct shared library dependencies.
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool

make %{?_smp_mflags}

%check
make check

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name "*.la" -delete

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING
%doc AUTHORS
%doc ChangeLog
%{_libdir}/libcoredumper.so.*

%files devel
%defattr(-,root,root,-)
%doc README
%doc examples
%{_libdir}/libcoredumper.so
%{_mandir}/man3/*
%dir %{_includedir}/google
%{_includedir}/google/*.h

%changelog
* Sat Sep 06 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-6
- updated exclude arch field with bug numbers.
- included secondary archs

* Mon Sep 01 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-5
- upstream fixed dirent.h problem (applied patch)

* Sun Aug 25 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-4
- patch for replacing dirent.h

* Sun Aug 24 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-3
- fixed buildrequires

* Sun Aug 24 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-2
- added %%check section, moved README to devel
- mv header files back to google directory

* Thu Aug 07 2008 Rakesh Pandit <rakesh at fedoraproject.org> 1.2.1-1
- Initial build


--- NEW FILE import.log ---
coredumper-1_2_1-6_fc9:F-9:coredumper-1.2.1-6.fc9.src.rpm:1220684195


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/coredumper/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Sep 2008 20:26:40 -0000	1.1
+++ .cvsignore	6 Sep 2008 07:08:38 -0000	1.2
@@ -0,0 +1 @@
+coredumper-1.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/coredumper/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Sep 2008 20:26:40 -0000	1.1
+++ sources	6 Sep 2008 07:08:38 -0000	1.2
@@ -0,0 +1 @@
+05b88bb36c4ba41df4c7d99169b795eb  coredumper-1.2.1.tar.gz




More information about the fedora-extras-commits mailing list