[xfsdump] xfsdump: create and own /var/lib/xfsdump/inventory
Eric Sandeen
sandeen at fedoraproject.org
Mon Jan 20 18:51:08 UTC 2014
commit 4eb7904d8f66d74d86d36186cc90c0862d09d583
Author: Eric Sandeen <sandeen at redhat.com>
Date: Sun Jan 12 22:36:18 2014 -0600
xfsdump: create and own /var/lib/xfsdump/inventory
xfsdump.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <sandeen at redhat.com> 3.1.3-3
+- Add /var/lib/xfsdump/inventory to file list (was created runtime)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list