chusiang / mysql-master-master

Automatically exported from code.google.com/p/mysql-master-master
GNU General Public License v2.0
1 stars 1 forks source link

Contribution: RPM spec flie - tested on RHEL4/RHEL5 #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've written a RPM spec file for mmm-1.0. I've used this to build RPMs for
RHEL4/RHEL5 (i386,x86_64). I wanted to contribute this in case it would
make it easier for RHEL/CentOS users to build RPMs.

Remarks:
1. I've tried to make sure the perl requirements are explicit. 
2. I've tried to use your install.pl script where I can so future changes
to install.pl should work (somewhat). 
3. It also builds send_arp and fping so they should work. 
4. Permissions for config files is 600:root:root since they contain MySQL
passwords
5. I modify certain paths to fit with RHEL practices.

I build with:

shell# rpmbuild -ba --define 'dist .el5' mysql-mmm.spec

on RHEL5. 

If you have feedback or feel something should be changed or different,
please let me know. I named the package mysql-mmm (instead of mmm) so that
people can tell it is MySQL related package.

-Bond

Original issue reported on code.google.com by TheOrigi...@gmail.com on 8 Jan 2009 at 6:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by kovy...@gmail.com on 9 Jan 2009 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by baron.schwartz on 15 Jan 2009 at 2:05

GoogleCodeExporter commented 9 years ago

Original comment by ryan.a.l...@gmail.com on 29 May 2009 at 8:07