[Yum-devel] [PATCH 1/4] Create the ghost files, to make rpmbuild happy
James Antill
james at and.org
Mon Apr 19 20:00:23 UTC 2010
---
yum.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/yum.spec b/yum.spec
index 5ece693..a559eda 100644
--- a/yum.spec
+++ b/yum.spec
@@ -57,6 +57,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
# install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/yum/yum.conf
# install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/yum.cron
+# Ghost files:
+mkdir -p $RPM_BUILD_ROOT/var/lib/yum/history
+mkdir -p $RPM_BUILD_ROOT/var/lib/yum/plugins
+mkdir -p $RPM_BUILD_ROOT/var/lib/yum/yumdb
+touch $RPM_BUILD_ROOT/var/lib/yum/uuid
+
%find_lang %name
%clean
--
1.6.6.1
More information about the Yum-devel
mailing list