[Rpm-maint] [rpm-software-management/rpm] RFE Please add a verb to inhibit macro expansion (#569)

Jason Tibbitts notifications at github.com
Wed Oct 17 14:49:22 UTC 2018


I though this might show it, but to me it looks like it works as expected; using either three or four percent signs seems correct.  (That's kind of a fun result on its own, though.)  Maybe your situation is more complicated or more nesting is required or something.  That's why it's really important to include some instructions for showing the issue.

```
ἐπιθυμία:~❯ cat *spec
%global try1 echo "%license try1"
%global try2 echo "%%license try2"
%global try3 echo "%%%license try3"
%global try4 echo "%%%%license try4"
%global try5 echo "%%%%%license try5"

Name: pkgname
Version: pkgversion
Release: pkgrelease
Summary: pkgsummary

License: pkglicense

%description
pkgdescription

%prep
%try1
%try2
%try3
%try4
%try5

ἐπιθυμία:~❯ rpmspec -P foo.spec
Name: pkgname
Version: pkgversion
Release: pkgrelease
Summary: pkgsummary

License: pkglicense

%description
pkgdescription

%prep
echo "pkglicense try1"
echo "pkglicense try2"
echo "%license try3"
echo "%license try4"
echo "%pkglicense try5"
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/569#issuecomment-430659307
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181017/facadc6a/attachment.html>


More information about the Rpm-maint mailing list