fedora-extras-list@redhat.com
[Top] [All Lists]

Re: Jabber Server?

Subject: Re: Jabber Server?
From: Enrico Scholz
Date: Thu, 24 Mar 2005 15:51:54 +0100
dag@xxxxxxxxxx (Dag Wieers) writes:

>> >> * '-p' should be used with %install
> ...
> There's no big difference between using the actual build time (when %build 
> ran) or the install time (when %install ran). Other than that the install 
> time on the files are most likely somewhat closer together.
>
> So I really do not see why someone wants to preserve the build time. None 
> of the advantages you state are unique for using -p, they are true for not 
> using -p.
>
> Or am I missing something obvious here ?

Yes... you are missing that not the %build time will be used but the
time when the file was created at the upstream author. E.g. jabberd.spec
contains

| %{__install} -m 644 tools/migrate.pl $RPM_BUILD_ROOT%{_datadir}/%{name}

and

| $ ls -l tools/migrate.pl
| -rwxr-xr-x  1 ensc ensc 9528 Oct  3  2003 tools/migrate.pl


I know, that in some cases the files will be touched at %build time and
there is no big difference between using '-p' or not using it. But using
'-p' globally does not hurt and you do not have to decide whether you
copy a static file or a generated one.



Enrico
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list
<Prev in Thread] Current Thread [Next in Thread>