From 4eb7904d8f66d74d86d36186cc90c0862d09d583 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sun, 12 Jan 2014 22:36:18 -0600 Subject: [PATCH] xfsdump: create and own /var/lib/xfsdump/inventory --- xfsdump.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xfsdump.spec b/xfsdump.spec index 472b2f5..9b7cd61 100644 --- a/xfsdump.spec +++ b/xfsdump.spec @@ -1,7 +1,7 @@ Summary: Administrative utilities for the XFS filesystem Name: xfsdump Version: 3.1.3 -Release: 2%{?dist} +Release: 3%{?dist} # Licensing based on generic "GNU GENERAL PUBLIC LICENSE" # in source, with no mention of version. License: GPL+ @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/ (cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .) (cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .) +# Create inventory dir (otherwise created @ runtime) +mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/xfsdump/inventory + %find_lang %{name} %clean @@ -59,8 +62,12 @@ rm -rf $RPM_BUILD_ROOT %doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt %{_mandir}/man8/* %{_sbindir}/* +%{_sharedstatedir}/xfsdump/inventory %changelog +* Mon Jan 20 2014 Eric Sandeen 3.1.3-3 +- Add /var/lib/xfsdump/inventory to file list (was created runtime) + * Sun Aug 04 2013 Fedora Release Engineering - 3.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild