Re: Trimming (or obsoleting) %changelog?

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

 



On 04/19/2013 06:57 PM, Tom Callaway wrote:
On 04/19/2013 12:25 PM, Richard W.M. Jones wrote:
On Fri, Apr 19, 2013 at 11:17:09AM -0400, Tom Callaway wrote:
On 04/18/2013 11:34 AM, Richard W.M. Jones wrote:
%global _changelog_trimtime %(date +%s -d "1 year ago")

If that actually works, we could make fedpkg set it.

I have just tested this by adding it to a random package that I
maintain, and it appears to work.

The changelog in the RPM I just built is trimmed to 1 year, even
though the spec file contains a much longer changelog.

One possible problem -- maybe it's not -- is that the generated
.src.rpm changelog also gets truncated, but the spec file inside is
intact.

If the spec file is intact, that should be sufficient. I don't think
people are regularly querying changelog info from SRPMs.

Last time, we've had this kind of discussions, people were claiming they were querying changelogs from _binary_ rpms and from installed rpms (rpm -q --changelog)

Ralf


--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[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