rpms/ltrace/devel .cvsignore, 1.8, 1.9 ltrace.spec, 1.60, 1.61 sources, 1.8, 1.9
Petr Machata (pmachata)
fedora-extras-commits at redhat.com
Wed Sep 12 17:53:19 UTC 2007
Author: pmachata
Update of /cvs/pkgs/rpms/ltrace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14073
Modified Files:
.cvsignore ltrace.spec sources
Log Message:
* Wed Sep 12 2007 Petr Machata <pmachata at redhat.com> - 0.5-9.45svn
- cleanup spec
- resolves: #226109
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ltrace/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 14 Jul 2006 12:02:36 -0000 1.8
+++ .cvsignore 12 Sep 2007 17:52:47 -0000 1.9
@@ -1 +1 @@
-ltrace-0.5.tar.gz
+ltrace-0.5-svn45.tar.gz
Index: ltrace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ltrace/devel/ltrace.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- ltrace.spec 16 Aug 2007 11:27:37 -0000 1.60
+++ ltrace.spec 12 Sep 2007 17:52:47 -0000 1.61
@@ -1,9 +1,19 @@
Summary: Tracks runtime library calls from dynamically linked executables
Name: ltrace
Version: 0.5
-Release: 8.45svn%{?dist}
-URL: http://alioth.debian.org/projects/ltrace/
-Source: ltrace-0.5.tar.gz
+Release: 9.45svn%{?dist}
+URL: http://ltrace.alioth.debian.org/
+License: GPLv2+
+Group: Development/Debuggers
+ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 s390 s390x alpha sparc
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: elfutils-libelf-devel dejagnu
+
+# Tarball generated from svn checkout. To regenerate:
+# svn co svn://svn.debian.org/ltrace -r 45
+# cd ltrace/ltrace/trunk && ./autogen.sh && ./configure && make dist
+Source: ltrace-0.5-svn45.tar.gz
+
Patch0: ltrace-0.4-exec.patch
Patch1: ltrace-0.4-fork.patch
Patch2: ltrace-0.5-opd.patch
@@ -18,11 +28,6 @@
Patch11: ltrace-0.5-exec-tests.patch
Patch12: ltrace-0.5-man.patch
Patch13: ltrace-0.5-ia64-sigill.patch
-License: GPLv2+
-Group: Development/Debuggers
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 s390 s390x alpha sparc
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: elfutils-libelf-devel dejagnu
%description
Ltrace is a debugging program which runs a specified command until the
@@ -53,13 +58,15 @@
sed -i -e 's/-o root -g root//' Makefile.in
%build
+# This ugly hack is necessary to build and link files for correct
+# architecture. It makes a difference on ppc.
export CC="gcc`echo $RPM_OPT_FLAGS | sed -n 's/^.*\(-m[36][124]\).*$/ \1/p'`"
-%configure CC="$CC" LDFLAGS="$LDFLAGS -Wl,-z,relro"
-make
+%configure CC="$CC"
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} docdir=%{_docdir}/ltrace-%{version}/ install
+make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} docdir=%{_docdir}/ltrace-%{version}/ install
#%check
#echo ====================TESTING=========================
@@ -72,11 +79,15 @@
%files
%defattr(-,root,root)
%doc COPYING README TODO BUGS ChangeLog
-%{_prefix}/bin/ltrace
+%{_bindir}/ltrace
%{_mandir}/man1/ltrace.1*
-%config(noreplace) /etc/ltrace.conf
+%config(noreplace) %{_sysconfdir}/ltrace.conf
%changelog
+* Wed Sep 12 2007 Petr Machata <pmachata at redhat.com> - 0.5-9.45svn
+- cleanup spec
+- resolves: #226109
+
* Thu Aug 16 2007 Petr Machata <pmachata at redhat.com> - 0.5-8.45svn
- Fix licensing tag.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ltrace/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 14 Jul 2006 12:02:37 -0000 1.8
+++ sources 12 Sep 2007 17:52:47 -0000 1.9
@@ -1 +1 @@
-9b96a0056e9ba88a54e938973bf83025 ltrace-0.5.tar.gz
+9b96a0056e9ba88a54e938973bf83025 ltrace-0.5-svn45.tar.gz
More information about the fedora-extras-commits
mailing list