mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Fixed: error: line 648: Package does not exist: %post -n MySQL-server-51
This commit is contained in:
parent
83e476b302
commit
9caea9b12c
1 changed files with 13 additions and 9 deletions
|
@ -645,7 +645,7 @@ if [ -x %{_sysconfdir}/init.d/mysql ] ; then
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n MySQL-server%{package_suffix}
|
%post -n PerconaSQL-server%{package_suffix}
|
||||||
mysql_datadir=%{mysqldatadir}
|
mysql_datadir=%{mysqldatadir}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
@ -748,7 +748,7 @@ sleep 2
|
||||||
mkdir -p /var/lib/mysql-cluster
|
mkdir -p /var/lib/mysql-cluster
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun -n MySQL-server%{package_suffix}
|
%preun -n PerconaSQL-server%{package_suffix}
|
||||||
if [ $1 = 0 ] ; then
|
if [ $1 = 0 ] ; then
|
||||||
# Stop MySQL before uninstalling it
|
# Stop MySQL before uninstalling it
|
||||||
if [ -x %{_sysconfdir}/init.d/mysql ] ; then
|
if [ -x %{_sysconfdir}/init.d/mysql ] ; then
|
||||||
|
@ -773,7 +773,7 @@ fi
|
||||||
# Files section
|
# Files section
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
%files -n MySQL-server%{package_suffix}
|
%files -n PerconaSQL-server%{package_suffix}
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
|
||||||
%doc %{lic_files}
|
%doc %{lic_files}
|
||||||
|
@ -862,7 +862,7 @@ fi
|
||||||
|
|
||||||
%attr(755, root, root) %{_datadir}/mysql/
|
%attr(755, root, root) %{_datadir}/mysql/
|
||||||
|
|
||||||
%files -n MySQL-client%{package_suffix}
|
%files -n PerconaSQL-client%{package_suffix}
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%attr(755, root, root) %{_bindir}/msql2mysql
|
%attr(755, root, root) %{_bindir}/msql2mysql
|
||||||
%attr(755, root, root) %{_bindir}/mysql
|
%attr(755, root, root) %{_bindir}/mysql
|
||||||
|
@ -890,10 +890,10 @@ fi
|
||||||
%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
|
||||||
%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
|
||||||
|
|
||||||
%post -n MySQL-shared%{package_suffix}
|
%post -n PerconaSQL-shared%{package_suffix}
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun -n MySQL-shared%{package_suffix}
|
%postun -n PerconaSQL-shared%{package_suffix}
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%if %{CLUSTER_BUILD}
|
%if %{CLUSTER_BUILD}
|
||||||
|
@ -943,7 +943,7 @@ fi
|
||||||
%doc %attr(644, root, man) %{_mandir}/man1/ndb_cpcd.1*
|
%doc %attr(644, root, man) %{_mandir}/man1/ndb_cpcd.1*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n MySQL-devel%{package_suffix}
|
%files -n PerconaSQL-devel%{package_suffix}
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%if %{commercial}
|
%if %{commercial}
|
||||||
%else
|
%else
|
||||||
|
@ -976,12 +976,12 @@ fi
|
||||||
%{_libdir}/mysql/libndbclient.la
|
%{_libdir}/mysql/libndbclient.la
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n MySQL-shared%{package_suffix}
|
%files -n PerconaSQL-shared%{package_suffix}
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
# Shared libraries (omit for architectures that don't support them)
|
# Shared libraries (omit for architectures that don't support them)
|
||||||
%{_libdir}/*.so*
|
%{_libdir}/*.so*
|
||||||
|
|
||||||
%files -n MySQL-test%{package_suffix}
|
%files -n PerconaSQL-test%{package_suffix}
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%{_datadir}/mysql-test
|
%{_datadir}/mysql-test
|
||||||
%attr(755, root, root) %{_bindir}/mysql_client_test
|
%attr(755, root, root) %{_bindir}/mysql_client_test
|
||||||
|
@ -1000,6 +1000,10 @@ fi
|
||||||
# merging BK trees)
|
# merging BK trees)
|
||||||
##############################################################################
|
##############################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 11 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com>
|
||||||
|
|
||||||
|
Package name changed to PerconaSQL
|
||||||
|
|
||||||
* Tue Jan 05 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com>
|
* Tue Jan 05 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com>
|
||||||
|
|
||||||
- Corrected emails
|
- Corrected emails
|
||||||
|
|
Loading…
Reference in a new issue