Re: [PATCH] rpm: Fix handling of SOURCE_DATE_EPOCH

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

 



On Wed, Oct 28, 2020 at 7:49 AM Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:
>
> On 10/27/20 1:06 PM, Neal Gompa wrote:
> > On Tue, Oct 27, 2020 at 6:24 AM Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:
> >>
> >> On 10/26/20 11:08 PM, Neal Gompa wrote:
> >>> Contemporary versions of Fedora automatically set SOURCE_DATE_EPOCH
> >>> based on the changelog entry date stamp. In scenarios where it already
> >>> is defined, we do not want to redefine it.
> >>>
> >>
> >> This part is okay.
> >>
> >>> Additionally, when building the libvirt package in an Open Build Service
> >>> instance, the spec file is not present in %_specdir, but instead in %_sourcedir.
> >>>
> >>
> >> But this looks fishy. Is the %_specdir defined in that case?
> >>
> >
> > It is (that comes from RPM itself), however the directory is empty.
>
> That feels like a bug in OBS then. IIUC this macro can be specified on
> the rpmbuild's cmd line. Can't it set the %_specdir to be the same as
> %_sourcedir?
>

Nothing about RPM mandates that %_specdir is actually *used* for anything.

-- 
真実はいつも一つ!/ Always, there's only one truth!





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux