summaryrefslogtreecommitdiff
path: root/cmake/cpack_rpm.cmake
Commit message (Collapse)AuthorAgeFilesLines
* RPM fixes:Sergei Golubchik2012-10-171-1/+1
| | | | | shared should provide libmysqlclient.so.18(libmysqlclient_16) too don't "use DBD::mysql" explicitly in mytop
* MDEV-3796 various RPM problemsSergei Golubchik2012-10-051-1/+4
| | | | | | | | | | | | | cmake/cpack_rpm.cmake: * mark all cnf files with %config(noreplace) * add the forgotten postun script sql/sys_vars.cc: 0 for a string variable means "no default. But datadir has the default value. support-files/rpm/server-postin.sh: * use mysqld --help to determine the correct datadir in the presence of my.cnf files (better than my_print_defaults, because it considers the correct group set). * Only create users, and chown/chmod if it's a fresh install, not an upgrade. * only run mysql_install_db if datadir does not exist
* MDEV-409 : /etc/my.cnf config file overwritten during RPM installation Vladislav Vaintroub2012-07-231-0/+1
| | | | Fix : use attribute %config(noreplace) for /etc/my.cnf , instead of (automatically generated) %config
* RPM packages should not obsolete themselves.Sergei Golubchik2012-05-291-5/+5
| | | | | Otherwise yum on fedora will not install them (rpm will, yum on centos and rhel will).
* MDEV-293 5.5 RPMs for RHEL6/CentOS6Sergei Golubchik2012-05-291-0/+31
| | | | | Build MariaDB-compat rpm by repackaging files from MariaDB-shared-5.3.*.rpm Or RHEL6/CentOS6 make all other MariaDB rpms depend on MariaDB-compat.
* create a new MariaDB-common.rpm that contains files needed both by the ↵Sergei Golubchik2012-05-251-9/+19
| | | | | | | | client and the server. use my.cnf includes to split one big my.cnf file in server and client parts. remove "Provides: mysql-libs" (doesn't help on CentOS 6)
* Building RPMs with CPackSergei Golubchik2012-05-221-0/+88
configure with cmake -DRPM=distro