Hi
In your spec file, either add a build requires for the package that provides /usr/share/X11/app-defaults directory, else in the %files section you need to add the %dir directive eg;
thanks for the help, I have advanced one step. Please allow some more newbie questions.
326s] gridengine.x86_64: E: suse-filelist-forbidden-sysconfig (Badness: 10000) /etc/sysconfig/gridengine is not allowed in SUSE
I am at a loss as to how to handle this error. Then:
326s] gridengine.x86_64: E: permissions-file-setuid-bit (Badness: 10000) /usr/lib/gridengine/utilbin/testsuidroot is packaged with setuid/setgid bits (04755)
OGS is to be considered legacy code. I agree that with some tweaking setuid/setgidding can be avoided. However, that would involve some considerable work. Is there some acceptable way to deal with such legacy packages?
However, normally *.so file are placed in the devel package, so should fix…?
You can also reset the badness with the rpmlintrc file, eg;
setBadness('permissions-file-setuid-bit', 0)
Is the file gridengine a proper openSUSE sysconfig file, if so there are macros etc to install these properly, else consider fixing it to conform, plus then can use with YaST /etc/sysconfig editor.
Also look at removing the changelog entries out of the spec file into it’s own gridengine.changes file.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Thanks a lot for your help, the package is now building. One last question though. I added a library package for the library that was admonished. This package contains two library files: libdrmaa.so.1.0 and the symbolic link libdrmaa.so pointing to the same file. Again I get the error:
Your package contains a single shared library but is not named after its SONAME
On Fri 17 Jun 2016 08:26:01 PM CDT, boehringers wrote:
Thanks a lot for your help, the package is now building. One last
question though. I added a library package for the library that was
admonished. This package contains two library files: libdrmaa.so.1.0 and
the symbolic link libdrmaa.so pointing to the same file. Again I get the
error:
Code:
Your package contains a single shared library but is not named after
its SONAME
In your %files sections the first line under %files should be;
%defattr(-,root,root)
If you rem anything out the has a % you need to edit and add an extra%
so it’s ignored eg;
# %posttrans
would be
# %%posttrans
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
thank you very much for these suggestions. I had to get into production quickly and thanks to your help the package installs and runs fine under 13.2, x86_64. I am willing to clean up the warnings, both as a matter of making the package better and as a learning experience. However, I would like to see whether there is interest in the package as I intend to package some more projects for OpenSuse. Can package install counts be monitored somewhere?
One more remark: I find it highly irritating that the spec file parser does not ignore %-characters in comments. Also non-substituted %-characters should not result in obscure shell-errors but should stop the build process in the parsing stage. Is there any reason for this behavior?
Hi
There use to be an ability to see download counts, but not anymore, seems was fine when OBS started, but now too much changing data…
The % is a precursor to a macro, definition etc with rpm… hence the need to use %% to ignore that specific item else it will act on it and/or comment in the log.