Tag Info

New answers tagged

0

vim yourapp.spec This - when run on nonexisting file - will open template for new spec file. Then in %install section put: install -m 755 -d %{buildroot}/some/directory cp -a some files %{buildroot}/some/directory and in %files section put: %files /some/directory


0

See: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd In scriptlets you can use $1 variable for detecting if it is upgrade or clean install or upgrade or removal of package. The value of the variable is defined here: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax


4

The tutorial has you download PHP from a third party repository named webtatic. The operator of this repro has compiled the source tarballs of various versions of PHP that are not in the official CentOS repository. Presumably the 'w' stands for 'webtatic', to differentiate these packages from the official CentOS ones.



Top 50 recent answers are included