[ltrace] ... and config.h

Petr Machata pmachata at fedoraproject.org
Wed Apr 11 11:32:18 UTC 2012


commit 66bd20ff53368f959fe4c55c853eb9c8ba7aa169
Author: Petr Machata <pmachata at redhat.com>
Date:   Wed Apr 11 13:32:06 2012 +0200

    ... and config.h

 ltrace-0.6.0-selinux.patch |   23 +++++++++++++++++++++++
 ltrace.spec                |    6 +++---
 2 files changed, 26 insertions(+), 3 deletions(-)
---
diff --git a/ltrace-0.6.0-selinux.patch b/ltrace-0.6.0-selinux.patch
index 8ddf0ec..4b85e22 100644
--- a/ltrace-0.6.0-selinux.patch
+++ b/ltrace-0.6.0-selinux.patch
@@ -187,3 +187,26 @@ index 67e1f93..82a4154 100644
 -- 
 1.7.7.6
 
+diff -up ./config.h.in~ ./config.h.in
+--- ./config.h.in~	2011-02-14 17:01:18.000000000 +0100
++++ ./config.h.in	2012-04-11 13:19:10.000000000 +0200
+@@ -45,6 +45,9 @@
+ /* we have libiberty */
+ #undef HAVE_LIBIBERTY
+ 
++/* Define to 1 if you have the `selinux' library (-lselinux). */
++#undef HAVE_LIBSELINUX
++
+ /* we have libsupc++ */
+ #undef HAVE_LIBSUPC__
+ 
+@@ -72,6 +75,9 @@
+ /* Define to 1 if you have the `rmdir' function. */
+ #undef HAVE_RMDIR
+ 
++/* Define to 1 if you have the <selinux/selinux.h> header file. */
++#undef HAVE_SELINUX_SELINUX_H
++
+ /* Define to 1 if you have the <stddef.h> header file. */
+ #undef HAVE_STDDEF_H
+ 
diff --git a/ltrace.spec b/ltrace.spec
index 7a85476..f223461 100644
--- a/ltrace.spec
+++ b/ltrace.spec
@@ -1,7 +1,7 @@
 Summary: Tracks runtime library calls from dynamically linked executables
 Name: ltrace
 Version: 0.6.0
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: http://ltrace.alioth.debian.org/
 License: GPLv2+
 Group: Development/Debuggers
@@ -89,8 +89,8 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/ltrace.conf
 
 %changelog
-* Wed Apr 11 2012 Petr Machata <pmachata at redhat.com> - 0.6.0-8
-- And patch configure, not just configure.ac
+* Wed Apr 11 2012 Petr Machata <pmachata at redhat.com> - 0.6.0-9
+- And patch configure and config.h, not just configure.ac
 - Resolves: #810973
 
 * Wed Apr 11 2012 Petr Machata <pmachata at redhat.com> - 0.6.0-7


More information about the scm-commits mailing list