[packages/rpm/rpm.org] - do expand macros in descriptions

baggins baggins at pld-linux.org
Fri Dec 18 22:51:14 CET 2020


commit 13521001706eb1a10cd5730e83d661d35146e2e0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 18 22:50:56 2020 +0100

    - do expand macros in descriptions

 noexpand.patch | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/noexpand.patch b/noexpand.patch
index 5de7900..9badc22 100644
--- a/noexpand.patch
+++ b/noexpand.patch
@@ -10,18 +10,6 @@ diff -ur rpm-4.16.0/build/parseChangelog.c rpm-4.16.0-noexpand/build/parseChange
  	goto exit;
  
      if (sb && addChangelog(spec->packages->header, sb)) {
-diff -ur rpm-4.16.0/build/parseDescription.c rpm-4.16.0-noexpand/build/parseDescription.c
---- rpm-4.16.0/build/parseDescription.c	2020-05-28 12:04:25.002136494 +0200
-+++ rpm-4.16.0-noexpand/build/parseDescription.c	2020-12-18 20:02:38.770619734 +0100
-@@ -64,7 +64,7 @@
-     if (lookupPackage(spec, name, flag, &pkg))
- 	goto exit;
- 
--    if ((nextPart = parseLines(spec, (STRIP_TRAILINGSPACE |STRIP_COMMENTS),
-+    if ((nextPart = parseLines(spec, (STRIP_TRAILINGSPACE |STRIP_COMMENTS | STRIP_NOEXPAND),
- 				NULL, &sb)) == PART_ERROR) {
- 	goto exit;
-     }
 diff -ur rpm-4.16.0/build/parseSpec.c rpm-4.16.0-noexpand/build/parseSpec.c
 --- rpm-4.16.0/build/parseSpec.c	2020-05-28 12:04:25.007136522 +0200
 +++ rpm-4.16.0-noexpand/build/parseSpec.c	2020-12-18 20:08:13.791373996 +0100
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/13521001706eb1a10cd5730e83d661d35146e2e0



More information about the pld-cvs-commit mailing list