xfsdump: create and own /var/lib/xfsdump/inventory
This commit is contained in:
parent
4ef8bffb82
commit
4eb7904d8f
@ -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@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@lists.fedoraproject.org> - 3.1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user