[Rpm-maint] [rpm-software-management/rpm] SPEC file questions (Discussion #2331)
Mogaba
notifications at github.com
Thu Dec 29 09:33:19 UTC 2022
Hi,
I'm new to RPM package building and I have a couple of questions regarding SPEC file:
1. If I use the %defattr directive without specifying file attributes, like this:
`%defattr(-,root,root,755)`
does it mean file attributes will be the same as in %buildroot folder or attributes will be set at the installation time in accordance with umask?
2. If I use a wildcard in the %files section like this:
`/usr/bin/*`
does it mean I just added all files in `%buildroot/usr/bin/` to the RPM package or I made RPM think that all files in `/usr/bin/` belong to the package on the target system?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2331
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2331 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221229/e4e9a217/attachment.html>
More information about the Rpm-maint
mailing list