Should the date in %changelog also be changed?

Or leave bad enuf alone for status quo ante "compatibility"?

BTW, RPM got reamed years ago because %changelog isn't "standard", been
on my todo++ since forever.

73 de Jeff

On May 12, 2011, at 2:34 AM, Anders F. Björklund wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>  ____________________________________________________________________________
> 
>  Server: rpm5.org                         Name:   Anders F. Björklund
>  Root:   /v/rpm/cvs                       Email:  a...@rpm5.org
>  Module: rpm                              Date:   12-May-2011 08:34:44
>  Branch: HEAD                             Handle: 2011051206344400
> 
>  Modified files:
>    rpm/rpmdb               hdrfmt.c
> 
>  Log:
>    add ISO-8601 date format
> 
>  Summary:
>    Revision    Changes     Path
>    1.156       +14 -0      rpm/rpmdb/hdrfmt.c
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/rpmdb/hdrfmt.c
>  ============================================================================
>  $ cvs diff -u -r1.155 -r1.156 hdrfmt.c
>  --- rpm/rpmdb/hdrfmt.c       20 Apr 2011 06:09:42 -0000      1.155
>  +++ rpm/rpmdb/hdrfmt.c       12 May 2011 06:34:44 -0000      1.156
>  @@ -245,6 +245,18 @@
>   }
> 
>   /**
>  + * Return isodate (ISO-8601) formatted data.
>  + * @param he                tag container
>  + * @param av                parameter list (or NULL)
>  + * @return          formatted string
>  + */
>  +static char * isodateFormat(HE_t he, /*@null@*/ const char ** av)
>  +    /*@*/
>  +{
>  +    return realDateFormat(he, av, _("%Y-%m-%dT%H:%M:%S"));
>  +}
>  +
>  +/**
>    * Return shell escape formatted data.
>    * @param he                tag container
>    * @param av                parameter list (or NULL)
>  @@ -315,6 +327,8 @@
>       { .fmtFunction = dateFormat } },
>       { HEADER_EXT_FORMAT, "day",
>       { .fmtFunction = dayFormat } },
>  +    { HEADER_EXT_FORMAT, "isodate",
>  +    { .fmtFunction = isodateFormat } },
>       { HEADER_EXT_FORMAT, "shescape",
>       { .fmtFunction = shescapeFormat } },
>       { HEADER_EXT_LAST, NULL, { NULL } }
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-...@rpm5.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to