On Wed, Apr 17, 2013 at 12:10:20PM +0900, Florian Festi wrote:
> For limiting the change log entries in the binary packages
> %_changelog_trimtime can be used that take a unix time stamp as an
> integer value. This way the whole history is still available in the spec
> file.

IIUC, this (untested) should trim RPM change logs older than 1 year?

%global _changelog_trimtime %(date +%s -d "1 year ago")

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to