Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Provide a RPM based package #397

Open
Rikorose opened this issue Sep 12, 2017 · 7 comments
Open

Provide a RPM based package #397

Rikorose opened this issue Sep 12, 2017 · 7 comments

Comments

@Rikorose
Copy link

Hi,

it would be nice if you could provide a package for Fedora / CentOS / etc...
Ideally as part of the official repository but a copr or an other custom repo would also be fine. A possible solution could be the openSuse Build Service.

@Timidger
Copy link
Member

Timidger commented Sep 12, 2017

Hi there,

I don't currently have the time to support downloading Way Cooler apart from the current channels that I host (i.e AUR, Crates.io, and the website). All other packages are user-maintained which I link to but do not control.

If you, or anyone else for that matter, would be willing to set up an RPM package, I'll be happy to link it in the README.

@Rikorose
Copy link
Author

I created a spec file for way-cooler and way-cooler-bg:
https://github.com/Rikorose/way-cooler-spec

Could you review in terms of dependencies etc..?

@Timidger
Copy link
Member

@Rikorose At a glance looks good, I'll double check and test it on my Fedora machine later.

You might want to add the utility programs, namely wc-lock and wc-grab, as separate packages as well. They are both under the way-cooler organization.

Once it's verified to be working, feel free to make a pr to the Readme showing how to install it using RPM.

@Rikorose
Copy link
Author

Thanks, note that the package rust-packaging is only available in Fedora rawhide

@Timidger
Copy link
Member

@Rikorose

Tested the package, looks good (as in it works on my machine ;)). One issue I did run into is that fedpkg mockbuild wouldn't work until I changed the output from fedpkg local to have -spec after way-cooler in the path name (e.g way-cooler-spec-0.6.2-2.fc28.src.rpm).

Is there a way to specify the Rust version? I use very recent features of Rust (I'm basically always targeting the latest stable version), and I don't want the build to fail. If rawhide updates as quickly (or nearly as quickly) as rustup does then this shouldn't be an issue (I do usually wait a bit for the dust to settle, especially after that one release that had soundness issues).

@Rikorose
Copy link
Author

Hm I don't know what the problem with fedpkg local is, I'll have to look into it.
There is a new draft for packaging rust applications for fedora (build rpm directly from crates.io). I will wait until the draft gets into the packaging guidelines, until I a submit an official package review.

The Rust version can be specified with BuildRequires: rust >= 1.20.0. I need to know when a new rust version will be targeted.

@Timidger
Copy link
Member

The Rust version can be specified with BuildRequires: rust >= 1.20.0. I need to know when a new rust version will be targeted.

I'll add a version specifier in my README, and update it whenever I update rustc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants