]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-truncate-cvslog.patch
- dropped obsolete comment
[packages/rpm.git] / rpm-truncate-cvslog.patch
index 018d83b93ada89c8ff556120ba14ec7f5ef7f087..5d9e9774aad112b0d937da48b711afacd9fdaa6b 100644 (file)
  void addChangelogEntry(Header h, time_t time, const char *name, const char *text)
  {
      int_32 mytime = time;     /* XXX convert to header representation */
+@@ -123,6 +123,7 @@
+     int nentries = 0;
+     static time_t last = 0;
+     static int oneshot = 0;
++    int numchangelog = rpmExpandNumeric("%{?_buildchangelogtruncate}");
+     /* Determine changelog truncation criteria. */
+     if (!oneshot++) {
 @@ -222,6 +223,42 @@
        /* backup to end of description */
        while ((s > text) && xisspace(*s))
This page took 0.03278 seconds and 4 git commands to generate.