King_InuYasha has quit [Ping timeout: 265 seconds]
jcajka has quit [Quit: Leaving]
jcajka has joined #fedora-riscv
defolos[m] has joined #fedora-riscv
<oaken-source>
hey, I have a quick question about RPMs. it's probably silly, but it's giving me and a collegue some grief.
<oaken-source>
we've built a package which installs a license, and the permissions of /usr/share/licenses/<pkgname> are 0750. How can I make it so they are 0755 instead?
<oaken-source>
that must be a configuration setting for rpmbuild, right?
<oaken-source>
I've found nothing in the spec file that sets the mode, and I didn't find anything in the documentation of %license
<oaken-source>
drewfustini: the board locked up after 14 hours of runtime
<oaken-source>
whoops, wrong channel for that message
cmuellner has quit [Ping timeout: 272 seconds]
<dgilmore>
oaken-source: the default umask is 022 so the permissions should be correct, are you making that directory in the spec or is the Makefile making it on install
<oaken-source>
dgilmore: I'm not 100% sure, to be honest. I'm trying to adapt an existing spec file that I don't fully understand yet
<dgilmore>
Can you paste it to a Pastebin?
<oaken-source>
yes, give me a second
<oaken-source>
pastebin thinks the spec file is too offensive to paste :|
<oaken-source>
and its too large for paste.debian.net
<oaken-source>
but I just found this line in %files: %defattr(-,root,root) %{!?_licensedir:%global license %%doc}
<oaken-source>
could this be related?
<dgilmore>
that could be
<dgilmore>
oaken-source: sorry was in meetings try paste.centos.org