Re: a question about the .spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 22 Feb 2007 18:17:44 -0500, "Chris Taylor" <chtaylo4@xxxxxxxxx> 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@xxxxxxxxx>

Some run Mike Harris' .rpmmacros, which allows to preserve sets
of sources:

%_topdir        /q/zaitcev/rpms
%_packager      Pete Zaitcev <zaitcev@xxxxxxxxx>
%_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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux