Giter VIP home page Giter VIP logo

Comments (6)

strycore avatar strycore commented on May 27, 2024

wow, I have no idea what is going on here. I already installed the RPM on previous Fedora versions with no apparent problem but it should be noted that I don't have a clue about Fedora packaging, I create the rpm with 'alien' from the deb package.

Meanwhile you can use the tar.gz archive.

from lutris.

cadecairos avatar cadecairos commented on May 27, 2024

Great, installing from the tar.gz archive was a breeze.

from lutris.

Ryochan7 avatar Ryochan7 commented on May 27, 2024

I am not sure that packages made with alien can work properly with recent versions of Fedora. When creating rpms from a spec file, special macros have to be used to make sure that the created package will not have ownership of directories that it isn't supposed to (such as /usr/bin). Looking at some other rpms, it looks like rpmbuild doesn't give those directories a proper timestamp.

Here are the errors that I get from rpmlint.

$ rpmlint lutris-0.3.4-2.noarch.rpm
lutris.noarch: W: non-standard-group Converted/games
lutris.noarch: E: no-changelogname-tag
lutris.noarch: W: invalid-license see /usr/share/doc/lutris/copyright
lutris.noarch: W: no-url-tag
lutris.noarch: E: non-executable-script /usr/share/pyshared/lutris/tosec.py 0644L /usr/bin/env
lutris.noarch: E: standard-dir-owned-by-package /usr/share
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/dolphin.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/osmose.py
lutris.noarch: E: standard-dir-owned-by-package /usr/bin
lutris.noarch: E: standard-dir-owned-by-package /usr
lutris.noarch: E: standard-dir-owned-by-package /
lutris.noarch: E: standard-dir-owned-by-package /usr/share/doc
lutris.noarch: E: non-executable-script /usr/share/pyshared/lutris/game.py 0644L /usr/bin/python
lutris.noarch: E: non-executable-script /usr/share/pyshared/lutris/thread.py 0644L /usr/bin/python
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/nulldc.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/openmsx.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/scummvm.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/uae.py
lutris.noarch: E: standard-dir-owned-by-package /usr/share/icons
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/mupen64plus.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/o2em.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/jzintv.py
lutris.noarch: E: incorrect-fsf-address /usr/share/pyshared/lutris/runners/frotz.py
lutris.noarch: E: non-executable-script /usr/share/pyshared/lutris/config.py 0644L /usr/bin/python
lutris.noarch: W: no-manual-page-for-binary lutris
1 packages and 0 specfiles checked; 21 errors, 4 warnings.

from lutris.

Ryochan7 avatar Ryochan7 commented on May 27, 2024

I spent a little time and made a prototype .spec file that can be used to build a Fedora compatible RPM file. It could probably use more work but it builds a proper archive that installs and works properly on Fedora 20. https://gist.github.com/Ryochan7/c8a24b0db5c4078c72ef

from lutris.

strycore avatar strycore commented on May 27, 2024

That's awesome! With Lutris 0.3.5 being very close from release, we'll have something that rocks on Fedora 20.

from lutris.

Ryochan7 avatar Ryochan7 commented on May 27, 2024

I made some edits to the spec file. The major changes are that runtime dependencies are now specified and the mock utility can be used to build the lutris RPM file. The following is a list of the changes that I have put in the changelog.

- Changed build and install step based on template generated by
  rpmdev-newspec.
- Added Requires.
- Ensure package can be built using mock.

from lutris.

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.