Strange. One would expect that specifying a build directory with `-B` would 
instruct cmake to change the CWD to that. And indeed, that's what seems to be 
happening for me since I'm getting the `rpmrc`, `platform` and `macros` files 
in correct (build) directory:

```sh
$ cmake -B build -S rpm
[...]
$ ls build/{rpmrc,platform,macros}
build/macros  build/platform  build/rpmrc
```

This seems more like some kind of misconfiguration related to the `%cmake` 
macro shipped in Fedora. Looking at the definition, it seems like 
`%_vpath_builddir` value could be wrong for you, or something like that:

```
%__cmake_builddir 
%{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2651#issuecomment-1711473916
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2651/c1711473...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to