Git Product home page Git Product logo

Comments (6)

kmittman avatar kmittman commented on July 28, 2024

Okay, from http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-DEFATTR-DIRECTIVE

%defattr(<file mode>, <user>, <group>, <dir mode>)
%attr(<mode>, <user>, <group>) file

It seems the solution would be to add a %attr line immediately after %defattr

%files
%defattr(644,root,root,755)
%attr(755,-,-) %{_bindir}/ld.gold.nvidia.%{kmod_driver_version}/ld.gold

To match up with the system defaults, i.e.

$ ls -l /usr/bin/ld.gold 
-rwxr-xr-x. 1 root root /usr/bin/ld.gold

from yum-packaging-precompiled-kmod.

txangel avatar txangel commented on July 28, 2024

thanks @kmittman, do you want us to file a PR with that proposal or will you instead own making the changes?

from yum-packaging-precompiled-kmod.

txangel avatar txangel commented on July 28, 2024

@kmittman I went ahead and filed a PR with what is discussed here.
Perhaps it needs to be a new branch 516? Depends on your release process.
I tested it locally an it seems to attempt adjusting the mode of the right file indeed.

from yum-packaging-precompiled-kmod.

kmittman avatar kmittman commented on July 28, 2024

Hi @txangel thank you for the pull request, can you please sign the commit(s), see: CONTRIBUTING.md. Optionally, perhaps consider squashing the commits?

I can try to back-port the change but not sure what release(s) the fix would make it into, as there are cut-off dates for each branch.

from yum-packaging-precompiled-kmod.

txangel avatar txangel commented on July 28, 2024

@kmittman I think the commits are squashed and the description is now signed according to the guideline (#38).
Is that all good now?

from yum-packaging-precompiled-kmod.

kmittman avatar kmittman commented on July 28, 2024

Closing, #38 has been merged

from yum-packaging-precompiled-kmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.