-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%config for rpm #118
Comments
Commented in your other issue, the default is "noreplace", per https://github.com/jordansissel/fpm/blob/master/templates/rpm.erb#L241 |
i would prefer |
Not sure why the spec says that about I would also like to avoid having too many platform specific options in fpm-cookery. It is an abstraction over different packaging systems and there are tons of platform specific features in every one. Supporting everything under the sun would make fpm-cookery pretty bloated in my opinion and it would probably be easier to just create RPM spec files in the first place. I agree that it would be good to make it even easier to set arbitrary fpm options to be able to access the full power of fpm. The |
was dealing with config files for rpm targets: I have marked one file as such, e.g. created the package with
then installed the rpm via
then I edited that file, (only uncommented one line), then created a new package (just bumbed revision number via the iteration option) and udated it
and what I find in /etc is only the original config file (with my line commented out), but no .rpmnew one
am I missing something? thx |
the spec says there's
config_files
, useful for.deb
, but not so useful for.rpm
.but i wonder what that statement mean? as if i build
.rpm
package usingconfig_files
, the files are marked as%config
:meaning it's marked as
%config
, however, %config does have attributes, which really define it's usability, i.e default is to overwrite existing file preserve it as .rpmsave, but more useful is to preserve existing file and store new one as .rpmnew, which can be controlled as (in .spec):so, i wonder which
%config
fpm-cookery (fpm?) uses, and can it be further tuned (like set those attributes per file or glob)The text was updated successfully, but these errors were encountered: