Results 1 to 6 of 6
hi all
i created a rpm for my application.
i am asking about, is there any way to write in spec file.....
at the time of installation give the permission ...
- 09-05-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
regarding rpm installation
hi all
i created a rpm for my application.
i am asking about, is there any way to write in spec file.....
at the time of installation give the permission to a file placed in /usr/lib/
how to give the permissions for that file in /usr/lib while installing the rpm.
for this, how to write in spec file.
please help me
thank you in advance"Relationships are built on trust and communication"
- 09-05-2007 #2
You can use the %post option in your spec file to stipulate which commands to run when you install the rpm. More info is available in the rpm guide.
- 09-06-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
- 09-06-2007 #4
I've already mentioned that you can use the %post section to run commands and scripts after an rpm is installed.
- 09-06-2007 #5Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
yes i used this but facing a problemCode:%files /root/one/munna %post /root/one/munna
not exiting after opening the window(am speaking about in terminal)
what i have to do to exit the terminal...Code:[root@localhost SPECS]# rpm -i '/usr/src/redhat/RPMS/i386/munna-Beta-FC7.i386.rpm'
thank you in advance"Relationships are built on trust and communication"
- 09-19-2007 #6Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
hi
at present am doing suse10.3 rpm..
i given
%attr(<mode>, <user>, <group>) file
coz of this line it copying the total file
which am giving permission.. so that rpm size increasing..
i tried for this
here i would like to give the permission to that folder..
while installing the rpm
what is the wrong with this..Code:%file %attr(0777, root, root) /usr/lib/xulrunner*/plugins/
please help me
thank you in advance"Relationships are built on trust and communication"


Reply With Quote
