Re: [Rpm-maint] [rpm] Xz support improvements (#11)

2015-10-13 Thread ニールゴンパ
This branch has been obsoleted by #17. Please close this and review that one. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/11#issuecomment-146226805___ Rpm-maint mailing list Rpm-maint@lists.r

[Rpm-maint] [rpm] Ensure defines are in place in fts.c and fts.h (#28)

2015-11-13 Thread ニールゴンパ
It's not clear that `features.h` is included when it is supposed to be, and in fact it wasn't. This should correct that. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/28 -- Commit Summary -- * Ensure features.h is include

[Rpm-maint] [rpm] Fix fstat64 implementation conditional and define typo (#29)

2015-11-13 Thread ニールゴンパ
So, as it turns out, pretty much all libc implementations except for legacy ones implement it as `fstat64()`, so we will use `fstat64()` unless otherwise necessary. Also, fix typo in checking for `_D_EXACT_NAMLEN` definition. You can view, comment on, or merge this pull request online at: htt

Re: [Rpm-maint] [rpm] Ensure defines are in place in fts.c and fts.h (#28)

2015-11-13 Thread ニールゴンパ
Closed #28. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/28#event-463602765___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

Re: [Rpm-maint] [rpm] initial embedded python interpreter support (@rpm5.org derived) (#25)

2015-11-19 Thread ニールゴンパ
So, it seems that `%{python:}` works as expected. However, scriptlets using `-p ` complain of it being unrecognized. Switching it to `-p ` fixes that, but the scriptlets don't run, and instead fail with the following: ``` warning: %postun(hello-2.10-27.1.fc23.x86_64) scriptlet failed, exit statu

[Rpm-maint] [rpm] Rename pythonXegg to pythonX.Ydist and read .dist-info (#33)

2015-11-21 Thread ニールゴンパ
Per the recommendation of Nick Coghlan and Toshio Kuratomi, `pythonXegg(M)` is being renamed to `pythonX.Ydist(M)`. An option has also been added to add a `pythonXdist(M)` Provides for distributions that may prefer to have it. The option is intended for use if only one python stack per major ve

Re: [Rpm-maint] [rpm] initial embedded python interpreter support (@rpm5.org derived) (#25)

2015-11-27 Thread ニールゴンパ
So, I gave it another go, and while the scriptlets seem to work now, interesting issues can come up. It causes segfaults in Yum and DNF, and I suspect anything that uses bindings to talk to RPM. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rp

Re: [Rpm-maint] [rpm] Rename pythonXegg to pythonX.Ydist and read .dist-info (#33)

2015-11-29 Thread ニールゴンパ
Closed #33. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/33#event-477067853___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

[Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, and support legacy pythoneggs()() (#35)

2015-11-29 Thread ニールゴンパ
Per the recommendation of Nick Coghlan and Toshio Kuratomi, `pythonXegg(M)` is being renamed to `pythonX.Ydist(M)`. An option has also been added to add a `pythonXdist(M)` Provides for distributions that may prefer to have it. The option `--majorver-provides` is intended for use if only one Pyt

Re: [Rpm-maint] [rpm] Unknown tag %ifdef. (#39)

2015-12-31 Thread ニールゴンパ
It should be just `%if %{with static}`. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/39#issuecomment-168231274___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/li

Re: [Rpm-maint] [rpm] Redundant Python version macro replaced. (#38)

2016-01-03 Thread ニールゴンパ
@ascherer Wouldn't it make more sense to split out the python macros into `macros.python`? --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/38#issuecomment-168558259___ Rpm-maint mailing list Rpm

Re: [Rpm-maint] [rpm] Pythoneggs cleanups (#46)

2016-01-17 Thread ニールゴンパ
@soig Could you please check to see if these would apply to #35? I've done some refactoring there and I'd be happy to take in any changes authored by you to my pull request. I've also added compatibility for your `pythoneggs(X)(M)` format in Mageia there. I will happily accept PRs and patches to

[Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, support legacy pythoneggs()(), and cleanups (#49)

2016-01-17 Thread ニールゴンパ
This PR contains both #35 and #46 After reviewing the changes from @soig in #46, I've merged it into a new pull request, after doing some tweaking and git sorcery. This obsoletes #35 and #46. From #35 Per the recommendation of Nick Coghlan and Toshio Kuratomi, `pythonXegg(M)` is being

Re: [Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, support legacy pythoneggs()(), and cleanups (#49)

2016-01-17 Thread ニールゴンパ
Major change: introduction of attr file to enable the dependency generator by default. This pull request contains @soig's attr file to enable the dependency generator by default, adapted to also read python wheel data too. Do we want to enable this dependency generator by default in RPM, o

Re: [Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, and support legacy pythoneggs()() (#35)

2016-01-17 Thread ニールゴンパ
Closed #35. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/35#event-517361915___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

Re: [Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, and support legacy pythoneggs()() (#35)

2016-01-17 Thread ニールゴンパ
This pull request has been superseded by #49. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/35#issuecomment-172375774___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mail

Re: [Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, support legacy pythoneggs()(), and cleanups (#49)

2016-01-17 Thread ニールゴンパ
Closed #49. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/49#event-517363906___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

[Rpm-maint] [rpm] Rename to pythonX.Ydist, read .dist-info, support legacy pythoneggs()(), and cleanups (#50)

2016-01-17 Thread ニールゴンパ
This PR contains both #35 and #46 After reviewing the changes from @soig in #46, I've merged it into a new pull request, after doing some tweaking and git sorcery. This obsoletes #35 and #46. This PR differs from #49 in that it doesn't include the attr file to enable the dependency generato

Re: [Rpm-maint] [rpm] Pythoneggs cleanups (#46)

2016-01-17 Thread ニールゴンパ
@soig I've reviewed your patches and merged them into mine and created a new PR. #50 has them combined. The only patch not merged in is the patch for enabling the new dependency generator by default. I believe merging in the changes would be good, but having the dependency generator enabled by

Re: [Rpm-maint] [rpm] Support Apache Subversion as SCM in the BUILD arena. (#55)

2016-01-28 Thread ニールゴンパ
> @@ -1120,6 +1122,23 @@ done \ > %{__patch} %{-p:-p%{-p*}} %{-q:-s}\ > %{__bzr} commit %{-q} -m %{-m*} > > +# Subversion > +%__scm_setup_svn(q)\ > +%{__svnadmin} create .svnrepos\ > +%{__svn} mkdir %{-q} -m "Create directory structure." > file://`pwd`/.svnrepos/trunk\ > +%{__svn} checkout %{-

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread ニールゴンパ
@ascherer It doesn't look like -S is supported anymore in `%autosetup`. Does `%autosetup -S git` or something like that still work correctly? --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/56#issuecomment-176122690___

Re: [Rpm-maint] [rpm] Support Apache Subversion as SCM in the BUILD arena. (#55)

2016-01-28 Thread ニールゴンパ
> @@ -1120,6 +1122,23 @@ done \ > %{__patch} %{-p:-p%{-p*}} %{-q:-s}\ > %{__bzr} commit %{-q} -m %{-m*} > > +# Subversion > +%__scm_setup_svn(q)\ > +%{__svnadmin} create .svnrepos\ > +%{__svn} mkdir %{-q} -m "Create directory structure." > file://`pwd`/.svnrepos/trunk\ > +%{__svn} checkout %{-

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread ニールゴンパ
@ascherer Eck, I didn't override the macro properly to test, that's why... It's all good to me :+1: --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/56#issuecomment-176159440___ Rpm-maint mailin

Re: [Rpm-maint] [rpm] Support Apache Subversion as SCM in the BUILD arena. (#55)

2016-01-28 Thread ニールゴンパ
> @@ -1120,6 +1122,23 @@ done \ > %{__patch} %{-p:-p%{-p*}} %{-q:-s}\ > %{__bzr} commit %{-q} -m %{-m*} > > +# Subversion > +%__scm_setup_svn(q)\ > +%{__svnadmin} create .svnrepos\ > +%{__svn} mkdir %{-q} -m "Create directory structure." > file://`pwd`/.svnrepos/trunk\ > +%{__svn} checkout %{-

Re: [Rpm-maint] [rpm] Support Apache Subversion as SCM in the BUILD arena. (#55)

2016-01-28 Thread ニールゴンパ
> @@ -1120,6 +1122,23 @@ done \ > %{__patch} %{-p:-p%{-p*}} %{-q:-s}\ > %{__bzr} commit %{-q} -m %{-m*} > > +# Subversion > +%__scm_setup_svn(q)\ > +%{__svnadmin} create .svnrepos\ > +%{__svn} mkdir %{-q} -m "Create directory structure." > file://`pwd`/.svnrepos/trunk\ > +%{__svn} checkout %{-

Re: [Rpm-maint] [rpm] Doc (#48)

2016-01-28 Thread ニールゴンパ
@cgwalters I'm not sure if I would say the Groups were a failure, unless you're willing to elaborate on why. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/48#issuecomment-176185394___ Rpm-main

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-04 Thread ニールゴンパ
It's totally fine to submit this as a full pull request. If necessary, the maintainers of the project can cherry pick from a pull request. It makes life easier, in my opinion, to have them all in one pull request, anyway. --- Reply to this email directly or view it on GitHub: https://github.com/

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-08 Thread ニールゴンパ
> @@ -560,6 +560,7 @@ dnl Checks for library functions. > AC_CHECK_FUNCS(putenv) > AC_CHECK_FUNCS(mempcpy) > AC_CHECK_FUNCS(fdatasync) > +AC_CHECK_DECLS(fdatasync, [], [], [#include ]) `fdatasync()` was just replaced with `fsync()` in 6151ac9a298a9fe560cf8f899dc0b0e67453446c. --- Reply to thi

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-08 Thread ニールゴンパ
> @@ -230,9 +230,9 @@ rpmvar_DATA = > > install-exec-hook: > @rm -f $(DESTDIR)$(bindir)/rpmquery > - @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmquery > + @LN_S@ rpm $(DESTDIR)$(bindir)/rpmquery This is a problem here. I have no idea where "rpm" exists in this symlink creation ca

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-08 Thread ニールゴンパ
> @@ -86,20 +90,7 @@ char * stpncpy(char * dest, const char * src, size_t n); > #define xstrdup(_str) rstrdup((_str)) > #define _free(_ptr) rfree((_ptr)) > > -/* Retrofit glibc __progname */ > -#if defined __GLIBC__ && __GLIBC__ >= 2 > -#if __GLIBC_MINOR__ >= 1 > -#define __progname _

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-08 Thread ニールゴンパ
> @@ -86,20 +90,7 @@ char * stpncpy(char * dest, const char * src, size_t n); > #define xstrdup(_str) rstrdup((_str)) > #define _free(_ptr) rfree((_ptr)) > > -/* Retrofit glibc __progname */ > -#if defined __GLIBC__ && __GLIBC__ >= 2 > -#if __GLIBC_MINOR__ >= 1 > -#define __progname _

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-14 Thread ニールゴンパ
> @@ -86,20 +90,7 @@ char * stpncpy(char * dest, const char * src, size_t n); > #define xstrdup(_str) rstrdup((_str)) > #define _free(_ptr) rfree((_ptr)) > > -/* Retrofit glibc __progname */ > -#if defined __GLIBC__ && __GLIBC__ >= 2 > -#if __GLIBC_MINOR__ >= 1 > -#define __progname _

Re: [Rpm-maint] [rpm] fixes for OS X (#57)

2016-02-14 Thread ニールゴンパ
> @@ -230,9 +230,9 @@ rpmvar_DATA = > > install-exec-hook: > @rm -f $(DESTDIR)$(bindir)/rpmquery > - @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmquery > + @LN_S@ rpm $(DESTDIR)$(bindir)/rpmquery I would suggest making a new pull request that adds a configure switch for changing t

Re: [Rpm-maint] [rpm] Additional fixes for getprogname()/setprogname() on BSD systems (#58)

2016-02-14 Thread ニールゴンパ
Looks good to me :+1: --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/58#issuecomment-184071948___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

[Rpm-maint] [rpm] Add all the BSDs that support setprogname() and getprogname() (#59)

2016-02-15 Thread ニールゴンパ
NetBSD and OS X aren't the only BSD derivatives with support for `setprogname()` and `getprogname()`, so this PR adds the definitions for the rest of them. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/59 -- Commit Summary

Re: [Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-16 Thread ニールゴンパ
@ffesti The actual problem is that `/bin/rpm` isn't valid when you install to `/usr/local`, and the symlinks unconditionally assume rpm is being installed systemwide. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/60#issuecomment-184723

Re: [Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-18 Thread ニールゴンパ
@ffesti What I was suggesting is that perhaps the following might solve the problem better: ``` @rm -f $(DESTDIR)$(rpmbindir)/rpmquery @LN_S@ -f $(rpmbindir)/rpm $(DESTDIR)$(rpmbindir)/rpmquery @rm -f $(DESTDIR)$(rpmbindir)/rpmverify @LN_S@ -f $(rpmbindir)/rpm $(DESTDIR)$(rpmbindir)/rpmverify ```

Re: [Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-21 Thread ニールゴンパ
@petere After testing the patch, it seems like it's fine to me. I'm okay with it entering as-is. :+1: --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/60#issuecomment-186955079___ Rpm-maint mail

[Rpm-maint] [rpm] Fixes for building RPM with BeeCrypt (#61)

2016-02-21 Thread ニールゴンパ
These days, normally RPM is built with NSS. However, it is desirable in some environments to use BeeCrypt as an alternative to NSS. In my case, I wanted to use BeeCrypt instead of NSS for RPM for OS X. In my quest to compile RPM for OS X, I have found a few things that needed to be fixed. The f

[Rpm-maint] [rpm] Use fuzz settings for %autopatch/%autosetup, if set (#63)

2016-03-13 Thread ニールゴンパ
In the `%apply_patches` that inspired `%autopatch`, patch application respects the fuzz settings that are used for `%patch`. `%autopatch` and `%autosetup` weren't using this, which led to an inconsistent patch application behavior. You can view, comment on, or merge this pull request online at:

Re: [Rpm-maint] [rpm] Use fuzz settings for %autopatch/%autosetup (#63)

2016-03-13 Thread ニールゴンパ
If it's okay, could this also be applied to the rpm 4.13 branch? It's biting us hard in Mageia, and it'd be nice if this patch was included in the released rpm 4.13. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/63#issuecomment-1959561

[Rpm-maint] [rpm] Fix pkgconfig reference to Lua in Libs.private (#64)

2016-03-18 Thread ニールゴンパ
The reference in `rpm.pc.in` is invalid and never gets filled in. By changing it to the correct reference for `configure.ac` substitution, it should work as expected. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/64 -- Comm

[Rpm-maint] [rpm] Add x86_64 for Darwin in rpmrc, enabling x86_64 target (#65)

2016-03-26 Thread ニールゴンパ
This pull request adds support for x86_64 for Darwin (Mac OS X) and adjusts the logic slightly so that in the event an architecture is not defined, it throws a warning. Depending on how the architecture is set up, RPM may or may not properly detect it, which is why this is a warning instead of

Re: [Rpm-maint] [rpm-software-management/rpm] implement rpmbuild --changelog=FILE support (#69)

2016-06-03 Thread ニールゴンパ
@proyvind Could the changelog be merged into the spec in an SRPM build or something? Otherwise, there would need to be a way to declare that a particular source in the spec provides the changelog. --- You are receiving this because you are subscribed to this thread. Reply to this email directly

Re: [Rpm-maint] [rpm-software-management/rpm] implement rpmbuild --changelog=FILE support (#69)

2016-06-08 Thread ニールゴンパ
@proyvind This current approach means that you should probably have a "ChangelogFile" or some similar property that can be used in the preamble to override the default file name (but not the path). --- You are receiving this because you commented. Reply to this email directly or view it on GitHu

Re: [Rpm-maint] [rpm-software-management/rpm] Fix preun scriptlet failure not aborting rpm erase (#74)

2016-07-08 Thread ニールゴンパ
Looks good to me as well, just a matter of @ffesti or @lkardos doing the final review to pull it in. --- 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/74#issuecomment-2314505

Re: [Rpm-maint] [rpm-software-management/rpm] rpmplugin: don't mix tabs and spaces (#76)

2016-08-03 Thread ニールゴンパ
Looks good to me! 👍 @ffesti @lkardos: I think this is sufficiently trivial that it can go straight in... --- 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/76#issuecomment-2

Re: [Rpm-maint] [rpm-software-management/rpm] let debuginfo packages provide the build-id (#77)

2016-08-03 Thread ニールゴンパ
Looks good to me! 👍 --- 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/77#issuecomment-237423581___ Rpm-maint mailing list Rpm-main

Re: [Rpm-maint] [rpm-software-management/rpm] configure.ac: use LIBDW always conditionally (#78)

2016-08-10 Thread ニールゴンパ
@ffesti With this patch, I can build RPM on OS X again, so I'm happy with 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/78#issuecomment-238846977__

[Rpm-maint] [rpm-software-management/rpm] pythondistdeps.py: Ensure that dist data used has py_version data (#80)

2016-08-20 Thread ニールゴンパ
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1368673 Reported-and-tested-by: Igor Gnatenko You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/80 -- Commit Summary -- * pythondistdeps.py: Ensure that dist data used ha

Re: [Rpm-maint] [rpm-software-management/rpm] build: fgetc returns int, not char. (#82)

2016-08-22 Thread ニールゴンパ
Looks excellent to me! 👍 -- 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/82#issuecomment-241387139___ Rpm-maint mailing list Rpm

Re: [Rpm-maint] [rpm-software-management/rpm] couple of fixes for pythondistdeps.py (#83)

2016-08-22 Thread ニールゴンパ
👍 -- 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/83#issuecomment-241410563___ Rpm-maint mailing list Rpm-maint@lists.rpm.org ht

[Rpm-maint] [rpm-software-management/rpm] pythondistdeps.py: Add --majorver-only dependency switch (#84)

2016-08-29 Thread ニールゴンパ
Tomas Orsava from the Fedora Python SIG requested that the dependency generator support only using `pythonXdist(M)` format for both Provides and Requires, so now this capability exists. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/r

Re: [Rpm-maint] [rpm-software-management/rpm] macros: make rpmsig's gpg command alterable (#85)

2016-09-02 Thread ニールゴンパ
Looks good to me 👍 -- 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/85#issuecomment-244376171___ Rpm-maint mailing list Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Improvements for xz support (#17)

2016-09-07 Thread ニールゴンパ
@ffesti @ignatenkobrain Anyone have a chance to re-review after the rebase? -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/17#issuecomment-245400085

Re: [Rpm-maint] [rpm-software-management/rpm] Improvements for xz support (#17)

2016-09-08 Thread ニールゴンパ
Looks good to me! 👍 @ffesti What do you think? -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/17#issuecomment-245801457___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Remove extra dependencies (#86)

2016-09-09 Thread ニールゴンパ
@legionus I'd prefer to see a more detailed description in the commit itself for future reference. Otherwise, looks good to me! What do you think, @ffesti? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for sorting '+' higher than base version (#88)

2016-09-10 Thread ニールゴンパ
> @@ -45,6 +45,20 @@ int rpmvercmp(const char * a, const char * b) > continue; > } > > + /* > + * Handle plus separator. Concept is same as tilde, but it one of > + * strings ends, it's considered as lower version. Shouldn't this read "it's considered as higher vers

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for sorting '+' higher than base version (#88)

2016-09-10 Thread ニールゴンパ
Looks good to me! :+1: -- 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/88#issuecomment-246129793___ Rpm-maint mailing list Rpm-m

Re: [Rpm-maint] [rpm-software-management/rpm] Remove extra dependencies (#86)

2016-09-10 Thread ニールゴンパ
Looks great to me! :+1: @ffesti @ignatenkobrain: What do you think? Can it be merged now? -- 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/86#issuecomment-246134715

Re: [Rpm-maint] [rpm-software-management/rpm] Makefile.maint: use git-rev-list (#89)

2016-09-11 Thread ニールゴンパ
👍 -- 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/89#issuecomment-246203644___ Rpm-maint mailing list Rpm-maint@lists.rpm.org ht

Re: [Rpm-maint] [rpm-software-management/rpm] Couple fixes in rpmdb (double free, and rpmdbCheckTerminate return code) (#92)

2016-09-19 Thread ニールゴンパ
Looks good to me as well. :+1: -- 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/92#issuecomment-248166812___ Rpm-maint mailing li

Re: [Rpm-maint] [rpm-software-management/rpm] Couple fixes in rpmdb (double free, and rpmdbCheckTerminate return code) (#92)

2016-09-19 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks good to me as well. :+1: -- 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/92#pullrequestreview-662858

Re: [Rpm-maint] [rpm-software-management/rpm] Extend %changelog to support full timestamps (#903) (#93)

2016-10-06 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks good to me. -- 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/93#pullrequestreview-3137787_

[Rpm-maint] [rpm-software-management/rpm] rpm2archive: return EXIT_SUCCESS on successful processing of package (#94)

2016-10-07 Thread ニールゴンパ
This PR changes `rpm2archive` so that in the event `RPMERR_ITER_END` is returned back from `process_package()`, it will consider it successful and return `EXIT_SUCCESS`. Thus, shell scripts will be able to use rpm2archive the same way as most tools. You can view, comment on, or merge this pull r

Re: [Rpm-maint] [rpm-software-management/rpm] Extend %changelog to support full timestamps (#903) (#93)

2016-10-10 Thread ニールゴンパ
@pavlinamv Would it be possible to support the date+time format where the year comes before the time? It's rather strange to see the year mentioned after the time. For example, your example date would be structured as: Mon Jan 6 2016 09:02:22 CEST -- You are receiving this because you are sub

Re: [Rpm-maint] [rpm-software-management/rpm] Extend %changelog to support full timestamps (#903) (#93)

2016-10-10 Thread ニールゴンパ
@pmatilai It would also be a pure extension of the existing changelog date stamp, as it would purely append new data in the date stamp, rather than mix it up a bit. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://gi

[Rpm-maint] [rpm-software-management/rpm] Read the full date from RPM changelog (#95)

2016-10-21 Thread ニールゴンパ
As of 57f94a582602f0353cdb17a02dc12c4461d4f32d, it's now possible to have proper changelogs with dates and times properly set. Thus, it makes sense to render this information by default. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rp

Re: [Rpm-maint] [rpm-software-management/rpm] Read the full date from RPM changelog (#95)

2016-10-21 Thread ニールゴンパ
@ignatenkobrain The time information has always been present, according to @ffesti. It's always been set to noon UTC before now, though. I verified by manually doing the `rpm -q rpm --qf` command on Mageia Cauldron now, and saw that the time information does exist and renders correctly. -- You

Re: [Rpm-maint] [rpm-software-management/rpm] Read the full date from RPM changelog (#95)

2016-10-21 Thread ニールゴンパ
@ffesti I've added a new option `--changes` to do this instead of changing `--changelog`. -- 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/95#issuecomment-255330990_

Re: [Rpm-maint] [rpm-software-management/rpm] Read the full date from RPM changelog (#95)

2016-10-21 Thread ニールゴンパ
@Conan-Kudo pushed 1 commit. d2ce9a6 Add man page information for '--changes' -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/95/files/e5c217523864f4acf304a7005390ece561ae9631..d2ce9a6a76778033d0deba475

Re: [Rpm-maint] [rpm-software-management/rpm] implement rpmbuild --changelog=FILE support (#69)

2016-10-25 Thread ニールゴンパ
@proyvind The most simple case would be for SUSE, who uses `%{name}.changes` for their changelog file name, though it's not currently in the correct form for RPM changelogs (that can easily change, though). But there may be other reasons (such as reusing changelog file or using a generated `chlo

[Rpm-maint] [rpm-software-management/rpm] python: remove redundant suffix in python module name in metadata (#97)

2016-11-11 Thread ニールゴンパ
No one is quite sure why there's a redundant `-python` suffix, but the module isn't named that, and typically we want the name in the metadata to be the same as the name of the module. This has no effect on Python code itself, as it doesn't change the name of the installed module used in import

[Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-14 Thread ニールゴンパ
These provides are specifically for packages providing AppStream files, which are either going to be `*.appdata.xml` or `*.metainfo.xml` files in `/usr/share/appdata` or `/usr/share/metainfo`. The upstream AppStream specification mandates *.metainfo.xml files installed into `/usr/share/metainfo

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-15 Thread ニールゴンパ
@mlschroe That's not how @ximion explained it to me. He seemed to indicate that AppStream covers both aspects, and supersedes the old AppData spec. -- 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-softw

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-15 Thread ニールゴンパ
Conan-Kudo commented on this pull request. > +# +# Transform appdata/metainfo xml file into RPM appstream(filename) provides +# +# Author: Michael Schroeder +# Based on other provides scripts from RPM + +OLD_IFS="$IFS" +while read instfile ; do + case "$instfile" in + *.appdata.xml)

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-15 Thread ニールゴンパ
Hmm, apparently there is a difference... https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html -- 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/98#issuecomm

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-16 Thread ニールゴンパ
@ximion Would `as-metainfo` work better as a name than `appstream` or `metainfo`? I want it to be clear what this actually is (a form of AppStream data). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rp

Re: [Rpm-maint] [rpm-software-management/rpm] configure.ac: correct stack protector check (#99)

2016-11-16 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks good to me! -- 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/99#pullrequestreview-8949308_

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

2016-11-18 Thread ニールゴンパ
I think I want to just leave it as `appstream()`, as then we won't get bitten again by changes in what actually bits of AppStream are called. -- 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-ma

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> metainfo, add support for metainfo files (#98)

2016-11-18 Thread ニールゴンパ
@ximion I've elected to change everything to `metainfo()`, as it resembles what we did before with calling them `appdata()`. -- 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

Re: [Rpm-maint] [rpm-software-management/rpm] appdata -> metainfo, add support for metainfo files (#98)

2016-11-18 Thread ニールゴンパ
@mlschroe I may come back later to make the generator a little smarter, but I wanted the name/path fixed first, as I rely on it for stuff myself. -- 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-softwar

[Rpm-maint] [rpm-software-management/rpm] configure.ac: Support detecting gpg2 for %__gpg and prefer gpg2 (#101)

2016-11-22 Thread ニールゴンパ
For a number of years, various Linux distributions (notably Fedora and Mageia) have been overriding this to set it to use gnupg2, with no ill effects. Now that most distributions are switching to gnupg2 by default, we will, too. You can view, comment on, or merge this pull request online at: h

Re: [Rpm-maint] [rpm-software-management/rpm] configure.ac: Support detecting gpg2 for %__gpg and prefer gpg2 (#101)

2016-11-22 Thread ニールゴンパ
@soig Removed the reference to Mageia, then. -- 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/101#issuecomment-262324925___ Rpm-ma

[Rpm-maint] [rpm-software-management/rpm] RFE: Decouple build, host, and target platforms for building RPMs for cross-compilation (#103)

2016-11-29 Thread ニールゴンパ
Today, RPM implicitly ties the build and host+target together, meaning that every build is assumed to be a native build. However, this means that a few desirable use cases are difficult to do with RPM: * **Making packages to target a foreign architecture**: This is the main cross-compilation ca

Re: [Rpm-maint] [rpm-software-management/rpm] When using %autopatch, create backup files with .~ suffix by def… (#109)

2016-12-09 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks good to me. -- 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/109#pullrequestreview-12224386___

Re: [Rpm-maint] [rpm-software-management/rpm] Metatags (#107)

2016-12-09 Thread ニールゴンパ
I'm a bit confused. What exactly are MetaTags supposed to do? You mention comps, are these supposed to be more like [SUSE's patterns](https://build.opensuse.org/package/view_file/system:install:head/patterns-openSUSE/patterns-openSUSE.spec?expand=1)? I can't quite tell what this is supposed to d

Re: [Rpm-maint] [rpm-software-management/rpm] When using %autopatch, create backup files with .~ suffix by def… (#109)

2016-12-09 Thread ニールゴンパ
@proyvind @soig @ignatenkobrain Maybe it'd be better if it was not on by default? -- 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/109#issuecomment-266029530

Re: [Rpm-maint] [rpm-software-management/rpm] When using %autopatch, create backup files with .~ suffix by def… (#109)

2016-12-09 Thread ニールゴンパ
For those looking from GitHub and the URL is being weirdly borked, here's the bug: https://bugs.mageia.org/show_bug.cgi?id=9832 -- 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/p

[Rpm-maint] [rpm-software-management/rpm] Support optionally creating backup files with %autopatch or %autosetup (#110)

2016-12-18 Thread ニールゴンパ
There are plenty of people who prefer to have backup files created when applying patches, for one reason or another. In #109, @proyvind proposed it to be enabled by default. This pull request tweaks that PR so that it is *not* enabled by default, but still available by adding `-B`. In addition,

Re: [Rpm-maint] [rpm-software-management/rpm] Support optionally creating backup files with %autopatch or %autosetup (#110)

2016-12-19 Thread ニールゴンパ
@soig Well, if someone wants to put themselves through the agony of using gendiff to manage patches instead of an SCM, let's give them the tools to make it less agonizing. :) -- 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] rpmsign: don't create & free NULL pointer (#111)

2016-12-20 Thread ニールゴンパ
@pmatilai Actually, it looks like that was GitHub's fault. The name of the branch looks like how GitHub names them by default. -- 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/pu

Re: [Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Add --with-kde KF5 support (#112)

2017-01-01 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks good to me! -- 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/112#pullrequestreview-14818649___

Re: [Rpm-maint] [rpm-software-management/rpm] rpmsign: don't create & free NULL pointer (#111)

2017-01-03 Thread ニールゴンパ
@pmatilai Well, can you merge it and then delete the branch? -- 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/111#issuecomment-270171743__

Re: [Rpm-maint] [rpm-software-management/rpm] rpm2cpio and rpm2archive: don't write archive data to a terminal. (#116)

2017-01-05 Thread ニールゴンパ
Conan-Kudo approved this pull request. Looks fantastic to me! -- 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/116#pullrequestreview-15439382__

Re: [Rpm-maint] [rpm-software-management/rpm] configure.ac: reference zlib when checking libmagic (#118)

2017-01-07 Thread ニールゴンパ
The correct change is to get the file/libmagic project to ship a file for pkg-config to use and stop relying on creaky manual tests. -- 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/

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: OpenSSL/LibreSSL as an alternative to NSPR/NSS or beecrypt (#119)

2017-01-08 Thread ニールゴンパ
I believe @sgallagher from the Fedora Modularity group also was interested in this... Snippet from `#rpm.org` conversation back in October requesting it: ``` [Monday, October 17, 2016] [12:54:05 PM EDT] ffesti: I know this is going to be a controversial question, but how hard would it be to sw

Re: [Rpm-maint] [rpm-software-management/rpm] Support optionally creating backup files with %autopatch or %autosetup (#110)

2017-01-11 Thread ニールゴンパ
@pmatilai so you'd want instead a `-S patchbackup` backend instead of using `-B` at `%autosetup`/`%autopatch`? -- 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/110#issuecomm

Re: [Rpm-maint] [rpm-software-management/rpm] Support optionally creating backup files with %autopatch or %autosetup (#110)

2017-01-11 Thread ニールゴンパ
@pmatilai I'm tempted to not modify the default backend because of reasons mentioned by @soig and @ignatenkobrain in #109. But let me see what I can do about introducing an alternative backend that creates patch backups. -- You are receiving this because you are subscribed to this thread. Reply

Re: [Rpm-maint] [rpm-software-management/rpm] '#' symbol to ignore a macro statement does not valid. (#121)

2017-01-12 Thread ニールゴンパ
Why not just replace `%` with `#`? That's what I generally do... -- 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/121#issuecomment-272155908

  1   2   3   4   5   6   7   8   9   10   >