[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: a question about the .spec file
- From: Pete Zaitcev <zaitcev redhat com>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Cc:
- Subject: Re: a question about the .spec file
- Date: Thu, 22 Feb 2007 17:34:45 -0800
On Thu, 22 Feb 2007 18:17:44 -0500, "Chris Taylor" <chtaylo4 gmail com> wrote:
> So basically this is how to recreate the problem:
> install the srpm for kernel-2.6.18
> build the rpm from source
> install the 2.6.18 rpm
> install the srpm for kernel-2.6.19
> build the rpm from source
> watch all config files applied (2.6.18 and 2.6.19)
I do "rm rpms/SOURCES/*" before the "install the srpm for ..." step.
My ~/.rpmmacros is this:
%_topdir /q/zaitcev/rpms
%_packager Pete Zaitcev <zaitcev yahoo com>
Some run Mike Harris' .rpmmacros, which allows to preserve sets
of sources:
%_topdir /q/zaitcev/rpms
%_packager Pete Zaitcev <zaitcev yahoo com>
%_sourcedir %{_topdir}/SOURCES/%{name}-%{version}
%_specdir %{_sourcedir}
In that case, "rm -rf rpms/SOURCES/kernel-whatever" is the answer.
But the main point is to do the cleanup before installing an SRPM,
not once you're done playing. You'll never remember doing the cleanup
if you postpone it.
-- Pete
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]