fedora - Chkconfig conflict during RPM installation -


i work .rpm. have made rpm glassfish

my template file

summary: glassfish name: redsky-glassfish version: @version@ release: @release@ license: proprietary group: applications/system buildroot: %{_topdir}/%{name}-%{version}-root buildarch: x86_64  requires: jdk conflicts: java-1.7.0-openjdk  %description  %preun  %install rm -fr ${rpm_build_root} mkdir ${rpm_build_root} cp -r ${rpm_build_dir}/* ${rpm_build_root}  %post  %postun #0 = uninstall, 1 = upgrade if [ "$1" == "0" ];     rm -fr /opt/glassfish/ fi  %files /* 

during installation throws error

file /etc/init.d install of glassfish-development-1095.x86_64 conflicts file package chkconfig-1.3.49.3-2.el6.x86_64

your %files section needs list files in it. don't own /etc/init.d, chkconfig does.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -