On Friday, 25 October 2024 20:16:28 CEST Brian Morrison via Pan-users wrote: > Using rpmbuild and the following spec file > [snip] > %build > mkdir -p std-build > cmake -B std-build
Here you should tell cmake where to install files with a command like: cmake -B std-build -DCMAKE_INSTALL_PREFIX=/usr See Duncan's mails for explanations on CMAKE_INSTALL_PREFIX > the patch applied is this: > > $ cat ~/rpmbuild/SOURCES/pan-v0.161/pan-v0.159.patch > diff -ruN pan-v0.159-ori/CMakeLists.txt pan-v0.159/CMakeLists.txt > --- pan-v0.159-ori/CMakeLists.txt 2024-06-05 17:32:57.000000000 +0200 > +++ pan-v0.159/CMakeLists.txt 2024-06-12 14:42:36.488664257 +0200 > @@ -31,6 +31,11 @@ > include(GNUInstallDirs) > set(PACKAGE "pan") > > +set(CMAKE_INSTALL_DATAROOTDIR "usr/share") > +set(CMAKE_INSTALL_BINDIR "usr/bin") > +set(CMAKE_INSTALL_MANDIR "usr/share/man") > +set(CMAKE_INSTALL_LOCALEDIR "usr/share/locale") > + I don't think this patch is necessary with the change described above. HTH _______________________________________________ Pan-users mailing list Pan-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-users