From af8cfaceb036373c315d50e426d0b4a4394f4ef3 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 4 May 2012 18:39:15 +0200 Subject: [PATCH] autospec.conf: format_unpackaged_file_list: fix rpm variable expansion for /lib and /lib64 Signed-off-by: Davide Madrisan --- ChangeLog | 5 +++++ autospec.conf.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd2a9c4..5dcb8ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,11 @@ Changes in version 1.10.1 reports an error. (Bug reported by Silvan Calarco.) + * autospec.conf + format_unpackaged_file_list: fix rpm variable expansion for /lib and + /lib64. + (As usual: bug reported by Silvan Calarco.) + ------------------------------------------------------------------------------- Changes in version 1.10.0 diff --git a/autospec.conf.in b/autospec.conf.in index 1a80dbe..da58f67 100644 --- a/autospec.conf.in +++ b/autospec.conf.in @@ -516,8 +516,8 @@ s,^/usr/share/man,%{_mandir}, s,^/usr/share,%{_datadir}, s,^/usr/include,%{_includedir}, s,^/etc,%{_sysconfdir}, -s,^/lib,%{_lib}, -s,^/lib64,%{_lib}, +s,^/lib,/%{_lib}, +s,^/lib64,/%{_lib}, s,^/var,%{_localstatedir}, # translations for kde4 packages s,^/etc/opt/kde,%{_kde4_sysconfdir},