[Rpm-maint] [rpm-software-management/rpm] Don't let macro '%-x' add extra space between flag and argument (PR #2455)
Ralf Habacker
notifications at github.com
Thu Mar 30 09:45:50 UTC 2023
> FWIW, you can build without rpm-sequoia by supplying `-DWITH_INTERNAL_OPENPGP=ON` to cmake.
Thanks for this pointer, which I can confirm that it works
To run the generated `rpmbuild` it looks to be required to install the build and use environment variable `RPM_CONFIGDIR` and `LD_LIBRARY_PATH` e.g.
```
cd ~
git clone https://github.com/rpm-software-management/rpm.git
cmake -S rpm -B rpm-build
cmake --build rpm-build
cmake --build rpm-build --target install DESTDIR=$PWD/rpm-install
RPM_CONFIGDIR=$PWD/rpm-install/usr/local/lib/rpm LD_LIBRARY_PATH=$PWD/rpm-install/usr/local/lib64 $PWD/rpm-install/usr/localbin/rpmbuild --define='%foo(b:B:) %{-b}' --eval '%foo -b2 -b a=2 -B4 dsfdfdf'
-b a=2
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2455#issuecomment-1490009021
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2455/c1490009021 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230330/65cf0ff1/attachment.html>
More information about the Rpm-maint
mailing list