Install empty map from tarball instead of touching
authorBryn M. Reeves <bmr@redhat.com>
Wed, 31 Oct 2012 19:23:43 +0000 (19:23 +0000)
committerBryn M. Reeves <bmr@redhat.com>
Wed, 31 Oct 2012 19:23:43 +0000 (19:23 +0000)
blkdevalias.spec

index 87e782b..16cbb5b 100644 (file)
@@ -28,7 +28,7 @@ cp blkdevalias $RPM_BUILD_ROOT/sbin/blkdevalias
 chmod ugo+x $RPM_BUILD_ROOT/sbin/blkdevalias
 mkdir -p $RPM_BUILD_ROOT/etc/blkdevalias
 cp conf $RPM_BUILD_ROOT/etc/blkdevalias
-touch $RPM_BUILD_ROOT/etc/blkdevalias/map
+cp map $RPM_BUILD_ROOT/etc/blkdevalias/map
 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}
 cp README $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}
 cp COPYING $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}