2020-08-30 14:05, John Darrington rašė:
So --prefix=/usr  ... in this case, your DESTDIR should contain the following 
files.  If it contains
anything else, then there's a problem, somewhere.


Yes, most files are in /usr for RPM packaging (i.e. $RPM_BUILD_ROOT/usr) – it is correct. $RPM_BUILD_ROOT is the root of files to be included into RPM. The only *exceptions are* $RPM_BUILD_ROOT/etc/ld.so.conf.d/pspp.conf *and* *libpsppire-glade** – that way I am writing to you.

As I don't need libpsppire-glade*, I use temporal workaround:

rm -f $RPM_BUILD_ROOT/$(pwd)/src/ui/gui/libpsppire-glade* || true
rm -f $RPM_BUILD_ROOT/usr/lib/debug$(pwd)/src/ui/gui/libpsppire-glade* || true

See more details in https://build.opensuse.org/package/view_file/home:embar-/PSPP-master/pspp.spec?expand=1

--

Regards,
Mindaugas


Reply via email to