[amanda/f17] file_lock is typedef to struct file_lock

Petr Pisar ppisar at fedoraproject.org
Tue Sep 18 13:47:59 UTC 2012


commit 7e963b08db0b1b7f6f3d61a38e3da5cf94a7cecf
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Sep 18 15:47:48 2012 +0200

    file_lock is typedef to struct file_lock

 amanda.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/amanda.spec b/amanda.spec
index 59eedbb..67d0964 100644
--- a/amanda.spec
+++ b/amanda.spec
@@ -87,6 +87,8 @@ server also needs to have the amanda-client package installed.
 %patch8 -p3 -b .match_disk
 %patch9 -p2 -b .glib
 ./autogen
+# file_lock is typedef to struct file_lock
+sed -e 's/struct \(file_lock\)\b/\1/' -i perl/Amanda/Util.c
 
 %build
 export MAILER=/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS=-pie
@@ -437,6 +439,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %changelog
 * Tue Sep 18 2012 Petr Pisar <ppisar at redhat.com> - 3.3.0-6
 - Do not provide perl(Math::BigInt) (bug #648321)
+- file_lock is typedef to struct file_lock
 
 * Wed Apr 18 2012 Lukáš Nykrýn <lnykryn at redhat.com>> - 3.3.0-5
 - Fix building issues with newer glib


More information about the scm-commits mailing list