[Yum-devel] [PATCH 1/4] Create the ghost files, to make rpmbuild happy
Ville Skyttä
ville.skytta at iki.fi
Tue Apr 20 16:53:14 UTC 2010
On Monday 19 April 2010, James Antill wrote:
> ---
> 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
ACK
More information about the Yum-devel
mailing list