Hi, I’m having two packaging problems that I’m stuck at:
although I haven’t explicitly set anything and the file is in the qml/ context, it’s being set executable. That’s not allowed, It’s a python file qml/py/myfile.py. how do I stop that?
I need to do some excludes for local libs: Do not check .so …
somethinng like # %global __provides_exclude_from ^(%{_libdir}/%{name}/.\.so.|%{_datadir}/myapp/.*)$
But what file do I use?
this is a INSTALL+= python project.
I can actually deploy without problems but I won’t get this into the jolla store
Probably done by the make install phase, and the rpm packaging just copies the files over keeping permissions.
Per default it only sets dir permissions and leaves files as they are in buildroot.
doesn’t get me there. so there is probably some regexp that might do it, but the faq gives us:
# >> macros
# list here all the libraries your RPM installs
%define __requires_exclude ^libFoo|libBar|libFooBar.*$
# << macros
And states unequivocally that every library has to be listed. I could simplify, but I’m not certain I can trust the docs. I guess I could rip out the make files and do it by hand. Oh. boy.
Note the semicolon to separate name and values. There is also a Macros2 keyword which I never used, but I think it puts the macros in a later position in the spec file.
Not sure about that last one, I never had to do that.
But in yaml you can also give the NoAutoReq directive, which will turn off all that requires stuff, and leave you to handle it yourself. Maybe that’s an alternative option?