amarchen / helloworld-pro-sailfish

A minimal good project for a 100% QML app and a couple of tests for it. For Sailsfish OS
Other
41 stars 18 forks source link

RPM spec file should be in a separate repository #15

Open aalex opened 7 years ago

aalex commented 7 years ago

Hi, I am mostly experienced in Debian packaging, but I think it's the same for RPM packaging. One should never put the distro-specific packaging files in the upstream repository. Why? Because the downstream specific packaging files might have different versions, and apply patches to the source. You don't want all these changes to be in the upstream sources.

amarchen commented 7 years ago

Hmm, that makes sense for the cross-platform apps indeed. In this particular app we are building a SailfishOS-specific app for the Sailfish OS devices only. Still storing packaging in a separate repository could probably make sense if the current directory structure wasn't a part of the default Sailfish build process.

I am not sure all the script would work if packaging scripts were in another dir. And if you checkout them to the current place via e.g. git subtree that wouldn't make much difference from the current situation, would it?