Fix libguestfs-find-requires.sh for new location of hostfiles

(RHBZ#615946).
This commit is contained in:
Richard W.M. Jones 2010-07-19 12:56:39 +00:00
parent f68494d84a
commit 663e352617
2 changed files with 6 additions and 3 deletions

View File

@ -10,8 +10,8 @@ files=`sed "s/['\"]/\\\&/g"`
# Use ordinary find-requires first.
echo $files | tr [:blank:] '\n' | $original_find_requires
# Is initramfs.*.supermin.hostfiles included in the list of files?
hostfiles=`echo $files | tr [:blank:] '\n' | grep 'initramfs\..*\.supermin\.hostfiles$'`
# Is supermin.d/hostfiles included in the list of files?
hostfiles=`echo $files | tr [:blank:] '\n' | grep 'supermin\.d/hostfiles$'`
if [ -z "$hostfiles" ]; then
exit 0

View File

@ -42,7 +42,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.5.0
Release: 5%{?dist}
Release: 6%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://libguestfs.org/
@ -704,6 +704,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jul 19 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.5.0-6
- Fix libguestfs-find-requires.sh for new location of hostfiles (RHBZ#615946).
* Thu Jul 8 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.5.0-5
- Include RELEASE-NOTES in devel package.