Re: [Rpm-maint] [rpm-software-management/rpm] The max lengthe of RPM package name is 66? (#974)

2019-12-19 Thread fbs2016
The java program create the RPM package with a spec file as input. It's hard to tell why it can't work as only the extraction by standard RPM command failed. Maybe I can debug the RPM source code to find why it reports the err then I can update the java code to meet the standard RPM extraction

Re: [Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: speed up %dir generation (#975)

2019-12-19 Thread Florian Festi
@ffesti pushed 1 commit. 96f5f40e9d584034863e14c6f62728f78507d361 Rename add_percent_dir to generate_percent_dir -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-19 Thread Michael Schroeder
@mlschroe pushed 1 commit. 97092ae8be7ec0f02c8a4f833f65831625985b84 Add support for reading BDB without the library -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Not all console_scripts entry points need pkg_resources from setuptools (#954)

2019-12-19 Thread Florian Festi
Should be fixed with #973. Closing. -- 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/954#issuecomment-567512834___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Not all console_scripts entry points need pkg_resources from setuptools (#954)

2019-12-19 Thread Florian Festi
Closed #954. -- 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/954#event-2897426024___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-19 Thread Michael Schroeder
@mlschroe pushed 1 commit. 042fdf6d8823ea2b3423134f23217f1d1f96d6e5 Add support for reading BDB without the library -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-19 Thread Michael Schroeder
mlschroe commented on this pull request. > @@ -594,6 +594,20 @@ AS_IF([test "$enable_ndb" = yes],[ ]) AM_CONDITIONAL([NDB], [test "$enable_ndb" = yes]) +#= +# Process --enable-bdb-ro +AC_ARG_ENABLE([bdb-ro], [AS_HELP_STRING([--enable-ndb-ro (EXPERIMENTAL)],[enable the

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-19 Thread ニール・ゴンパ
Conan-Kudo requested changes on this pull request. I don't know how I feel about this, but... > @@ -594,6 +594,20 @@ AS_IF([test "$enable_ndb" = yes],[ ]) AM_CONDITIONAL([NDB], [test "$enable_ndb" = yes]) +#= +# Process --enable-bdb-ro +AC_ARG_ENABLE([bdb-ro],

[Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-19 Thread Michael Schroeder
This commit implements a slow read-only backend that allows accessing of BerkeleyDB databases without using the BerkeleyDB library. The code supports btree version 9 and hash version 8 and 9. There are two use cases for this: 1) Conversion of an existing BerkeleyDB to a different backend. 2)

Re: [Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: speed up %dir generation (#975)

2019-12-19 Thread Florian Festi
Ok, overall this looks like a much better solution that the original sed orgy. But the original code just adds those dir lines but keeps the file entries in place. This is kinda strange as the file entries are appended to the .new files in the lines right below. The new code only creates the

Re: [Rpm-maint] [rpm-software-management/rpm] The max lengthe of RPM package name is 66? (#974)

2019-12-19 Thread Florian Festi
No, the package name should not be limited. It looks like there is a bug in the code creating the lead. But it is hard to tell where exactly this is. If your Java program is creating the package directly without creating a spec file and then running rpmbuild I would advice checking the code

Re: [Rpm-maint] [rpm-software-management/rpm] The max lengthe of RPM package name is 66? (#974)

2019-12-19 Thread fbs2016
Thanks, Festi. In fact, I use a java program which to create RPM package, which refer to an old RPM API (RPM 4.4.2). I can use it to create a RPM package and use the standard RPM command to parser it, like rpm/rpm2cpio command. I meet the name length limit problem when create RPM package, then