Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2020-03-04 Thread Florian Festi
Closed #787. -- 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/787#event-3096566189___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2020-03-04 Thread Florian Festi
Looks like there are solutions already there. While they are not that beautiful it still beats adding another special case. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-09-24 Thread Michael Schroeder
Here's another solution: ``` %global godocs docs examples code-of-conduct.md %dnl\ README.md ``` This uses the new %dnl macro to eat away the newline generated by the trailing `\`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-07-11 Thread pavlinamv
I am sorry, but I do not know any way how to do it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-07-11 Thread nim-nim
@pavlinamv scrap it, it can not be aliased just within a macro file, because it depends on the next line starting just after the marker. Or is there a way to eat this next line safely? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-07-11 Thread nim-nim
@pavlinamv: that should work, thanks for the idea! However, it is so smart and unintuitive, I doubt many will thing about it. A clean marker (even if it's just an alias) would be better. Is that something that could be added to official rpm macros or do I need to push it `redhat-rpm-config`

Re: [Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-07-11 Thread pavlinamv
You can use %{shrink:...} this way: ```%global godocs docs examples code-of-conduct.md %{shrink:\``` ``` }README.md``` "godocs" will be defined: ```xdocs examples code-of-conduct.md README.md``` -- You are receiving this because you are subscribed to this thread.

[Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

2019-07-09 Thread nim-nim
Sometimes rpm variables need contain long lines of things https://src.fedoraproject.org/rpms/golang-sigs-k8s-kustomize/blob/master/f/golang-sigs-k8s-kustomize.spec#_20 and reviewers, prompted by rpmdevtool, will ask to break those lines to less than 80 columns Unfortunately there is no easy way