[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: still confusion with the %doc directive in a spec file
- From: Giulio Orsero <giulioo tiscalinet it>
- To: rpm-list redhat com
- Subject: Re: still confusion with the %doc directive in a spec file
- Date: Mon, 31 Dec 2001 11:38:51 +0100
On Mon, 31 Dec 2001 05:12:09 -0500 (EST), you wrote:
>spec file:
>----------
>Summary: WonderPics, a collection of images
>Name: wonderpics
>Version: 1.0
>Release: 1
>Copyright: GPL
>Group: Amusements/Graphics
>BuildArch: noarch
>BuildRoot: %{_tmppath}/%{name}-root
>URL: http://www.wonderpicsrus.com/wonderpics
>Distribution: whatever
>Vendor: WonderpicsRUs, Inc.
>Packager: fred@wonderpicsrus.com
>Provides: WonderPics
>Requires: ee
Where's the "Source" tag?
I think that if you use "Source", then rpm will untar the source in a dir
(expecting the untarred dource dir will have some specific name) and sets up
internal variables to search for %doc into that dir.
If you don't use the usual setup, that variable will be empty and so fall
back into common BUILD dir
>%description
>This package contains WonderPics, just random images as
>a test for building a noarch RPM.
>%prep
>exit 0
>%build
>exit 0
>%install
>exit 0
>%clean
>exit 0
The %setup macro is also missing.
So it seems the test rpm/spec you are using is not ok to test rpm
capabilities since it's not standard.
--
giulioo@pobox.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]