Re: [Rpm-maint] [rpm-software-management/rpm] rpm expands macro args twice (#217)

2017-05-18 Thread Panu Matilainen
Funny how things seem clearer without a headache... Obviously one needs to be able to pass escaped macros as arguments, another example to show current non-sensical behavior: ``` $ rpm --define "%foo() %1" --eval "%foo %{_lib}" --eval "%foo %%{_lib}" lib64 lib64 ``` I have a fix for that, just

Re: [Rpm-maint] [rpm-software-management/rpm] rpm expands macro args twice (#217)

2017-05-18 Thread Panu Matilainen
The latter case fixed now in commit 9ae7d1df313b7a2b9fd74fef5a176dcdce40b88b, thanks for the cases! -- 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] rpm expands macro args twice (#217)

2017-05-18 Thread Michael Schroeder
I also think you should expand the macros after splitting the arguments, so that the behavior is more useful and compatible. Example: ``` %foo() 1:%1 2:%2 ``` And `rpm --eval "%foo %nil bar` should return `1: 2:bar` like before. -- You are receiving this because you are subscribed to this

[Rpm-maint] [rpm-software-management/rpm] Make source package detection less error prone. (#218)

2017-05-18 Thread Michael Schroeder
Use a simple heuristic instead of looking at the lead type when we can't decided if a header is from a source package or not. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/218 -- Commit Summary -- * Add

Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Panu Matilainen
Oh and BTW, if this fixes the immediate issue you have and then we can deal with the build-side of things(%defattr and the like) in a separate patch later on. -- 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] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Ayappan
Thanks @pmatilai . Is it okay if i open a new PR ? . I never tried updating a PR ;-( -- 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] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Panu Matilainen
Thats ok too :) -- 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/pull/215#issuecomment-302379516___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Three fixes for rpmdeps (#216)

2017-05-18 Thread Florian Festi
First and last patch look good. Pushed. Thanks you very much! Wrt putting the --rpmfcdebug output to stdout: Can't you just redirect stderr for you use case? While stderr and stdout output is messed up in rpm the proposed patch really moves into the wrong direction. I am closing this PR for

Re: [Rpm-maint] [rpm-software-management/rpm] Three fixes for rpmdeps (#216)

2017-05-18 Thread Florian Festi
Closed #216. -- 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/pull/216#event-1087632114___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Warningsfixes (#191)

2017-05-18 Thread Florian Festi
Closed #191. -- 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/pull/191#event-1087640612___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Warningsfixes (#191)

2017-05-18 Thread Florian Festi
Pushed first patch. Thanks! -- 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/pull/191#issuecomment-302381244___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Ayappan
@pmatilai I just opened a new PR. Thanks -- 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/pull/215#issuecomment-302382832___ Rpm-maint

[Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Ayappan
Platforms like AIX has system instead of root as the primary group (gid=0). This patch generalize these stuffs rather than hard coding in the code. This PR is opened to incorporate the changes needed after the review of another PR https://github.com/rpm-software-management/rpm/pull/215 You can

Re: [Rpm-maint] [rpm-software-management/rpm] rpm expands macro args twice (#217)

2017-05-18 Thread Panu Matilainen
...and the initial case fixed in 767d61ca3dba9745d392fa28bbe09a209bd49522. Again, thanks for spotting and reporting! It's s much nicer to fix such things pre-release time at your leisure without having an angry mob of packagers yelling "you bastard you broke my stuff" at you :) -- You are

Re: [Rpm-maint] [rpm-software-management/rpm] rpm expands macro args twice (#217)

2017-05-18 Thread Panu Matilainen
Closed #217. -- 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/217#event-1087571377___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Panu Matilainen
Looks much better, thanks, please update this PR with the new version. Having to awk for the username seems a bit gross but then I would've expected `id` to take numbers since day one, which clearly is not the case (it doesn't work in RHEL-5 or -6 either) maybe we'll just have to live with it.

Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Panu Matilainen
Superceded by #219. -- 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/pull/215#issuecomment-302408410___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] set a %_specfile macro during build, holding full path to spec file (#202)

2017-05-18 Thread Panu Matilainen
Nope, I don't like it any more than the last time around, and I don't see anything here that would change my mind - "without having to pass extra arguments" doesn't sound like a very convincing argument. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Panu Matilainen
Closed #219. -- 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/pull/219#event-1087841680___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for ARM 64bit (aarch64) - Add arm32 and arm64 macros (#173)

2017-05-18 Thread MyungJoo Ham
It is going nowhere. Let's close this. -- 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/pull/173#issuecomment-302463158___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for ARM 64bit (aarch64) - Add arm32 and arm64 macros (#173)

2017-05-18 Thread MyungJoo Ham
Closed #173. -- 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/pull/173#event-1088142672___ Rpm-maint mailing list

[Rpm-maint] [rpm-software-management/rpm] Add a new option --all-per-file to rpmdeps (#220)

2017-05-18 Thread Peter Kjellerstedt
This is an alternative solution to the part in https://github.com/rpm-software-management/rpm/pull/216 that was rejected. Rather than changing the behavior of the existing `--rpmfcdebug` option, this adds a new option `--all-per-file`, which outputs the same information as `--rpmfcdebug` does,

Re: [Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Panu Matilainen
Like noted in #215, having to awk for the username seems a bit gross but then I would've expected id to take numbers since day one, which clearly is not the case (it doesn't work in RHEL-5 or -6 either) maybe we'll just have to live with it. There was a thinko/editing mistake in the patch

Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Panu Matilainen
Closed #215. -- 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/pull/215#event-1087827090___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Ayappan
Oh, my mistake. Skipped from my eyes. Thanks @pmatilai -- 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] set a %_specfile macro during build, holding full path to spec file (#202)

2017-05-18 Thread Panu Matilainen
Closed #202. -- 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/pull/202#event-1087823736___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for ARM 64bit (aarch64) - Add arm32 and arm64 macros (#173)

2017-05-18 Thread Florian Festi
Is this still going anywhere or can we close it? -- 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/pull/173#issuecomment-302387209___