Re: [Rpm-maint] [rpm-software-management/rpm] RPM v6 package format, first public draft for commenting (Discussion #2374)

2024-01-04 Thread Daniel Alley
>From a discussion with @Conan-Kudo > (me) what is the intended purpose behind RPM automatically adding a > config($pkgname) dependency to both the provides and requires dependency > lists of a package with a %config declared in the specfile? why self-require > like that? > (neal) My

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Make `%setup` work with archives regardless of inner structure (Issue #2664)

2024-01-04 Thread ニール・ゴンパ
Not quite. If it contains a single entry, strip it. Always create the directory `%name-%version` and extract into it. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2664#issuecomment-1877539519 You are receiving this because you are

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Make `%setup` work with archives regardless of inner structure (Issue #2664)

2024-01-04 Thread ニール・ゴンパ
Yup. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2664#issuecomment-1877538632 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Make `%setup` work with archives regardless of inner structure (Issue #2664)

2024-01-04 Thread Matteo Croce
In simple words the logic will be: if the archive contains a single entry extract it as is, otherwise create an entry like $name-$version? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2664#issuecomment-1877537481 You are receiving

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Make `%setup` work with archives regardless of inner structure (Issue #2664)

2024-01-04 Thread ニール・ゴンパ
I believe we have to inspect it to check. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2664#issuecomment-1877526112 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Make `%setup` work with archives regardless of inner structure (Issue #2664)

2024-01-04 Thread Matteo Croce
@Conan-Kudo how libarchive can help in detect if the archive needs to be extracted as is or in a subdirectory? Is there a]is some function to detect it, or we need to inspect the archive to see if the root entry has just one entry? -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] 4.19 unbuildable on macOS due to Linux-specific extensions (Issue #2807)

2024-01-04 Thread Mark Dascher
Bingo! It works now: ``` mkdir _build cd _build PKG_CONFIG_PATH=/usr/local/opt/libarchive/lib/pkgconfig cmake -DENABLE_NLS=ON -DENABLE_PLUGINS=OFF -DWITH_AUDIT=OFF -DWITH_INTERNAL_OPENPGP=ON -DWITH_OPENSSL=ON -DWITH_SELINUX=OFF -DENABLE_TESTSUITE=OFF -DWITH_ACL=OFF -DWITH_CAP=OFF .. # … #

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for "pinned" tests (PR #2803)

2024-01-04 Thread Michal Domonkos
Thanks :smile: It's basically a private target only used by a handful of people so we have some leeway in terms of choosing a better name and/or implementation of this in the future, but for now, this should suffice. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Declarative buildsystem, take II (PR #2774)

2024-01-04 Thread Panu Matilainen
Oops, there was an unrelated extra commit from work related to #2803, must've gotten my local branches mixed up... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2774#issuecomment-1876881461 You are receiving this because you are

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for "pinned" tests (PR #2803)

2024-01-04 Thread Panu Matilainen
Merged #2803 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2803#event-11388155549 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for "pinned" tests (PR #2803)

2024-01-04 Thread Panu Matilainen
Three weeks should be enough think-time for this and since I didn't come up with anything... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2803#issuecomment-1876872414 You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] 4.20 unbuildable on macOS due to Linux-specific extensions (Issue #2807)

2024-01-04 Thread Panu Matilainen
Pushed another update to the PR, hopefully that covers these final bits too. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2807#issuecomment-1876776814 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] Fix unconditional uses of Linux-specific extensions (PR #2812)

2024-01-04 Thread Panu Matilainen
@pmatilai pushed 3 commits. 052e8f4d8778330e6e4c7b418bae33953187e640 Fix libintl linkage and include directories (cmake transition fallout) 2dd2f95806440eb4f59916112160511e58bb300d Drop unnecessary rpmcli.h include from rpmbuild.h 0adda3dac4d511f36b7c6d7ec061035b6def3793 rpmcli.h forces a

Re: [Rpm-maint] [rpm-software-management/rpm] 4.20 unbuildable on macOS due to Linux-specific extensions (Issue #2807)

2024-01-04 Thread Panu Matilainen
Hmm, actually there shouldn't be any need for rpmbuild.h to include rpmcli.h either. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2807#issuecomment-1876732638 You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] 4.20 unbuildable on macOS due to Linux-specific extensions (Issue #2807)

2024-01-04 Thread Panu Matilainen
> include/rpm/rpmcli.h:10:10: fatal error: 'popt.h' file not found > > Added to python/CMakeLists.txt: > target_include_directories(_rpm PRIVATE ${POPT_INCLUDE_DIRS}) Actually popt needs to be a public include directory for rpm because of that rpmcli.h include, I didn't realize/remember we had

Re: [Rpm-maint] [rpm-software-management/rpm] Create Issue templates for Bug reports and RFEs (PR #2823)

2024-01-04 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -0,0 +1,22 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: RFE +assignees: '' + +--- + +If your feature need figuring out how to implement it or needs feedback from the wider comunity, please open a

Re: [Rpm-maint] [rpm-software-management/rpm] Create Issue templates for Bug reports and RFEs (PR #2823)

2024-01-04 Thread Panu Matilainen
@pmatilai commented on this pull request. > +**To Reproduce** +Steps to reproduce the behavior: +1. Start condition e.g. installed packages +2. Command (line) executed +3. Error encountered + +Please link or attach the packages or spec files involved. + +**Expected behavior** +A clear and