Require mysql and mysql-compat-client only when providing them, since otherwise we cannot be sure there is such a package in the repo
This commit is contained in:
		
							parent
							
								
									a05cac8215
								
							
						
					
					
						commit
						1d84d0bf9d
					
				| @ -236,7 +236,12 @@ Summary:          The MySQL server and related files | ||||
| Group:            Applications/Databases | ||||
| 
 | ||||
| # note: no version here = %%{sameevr} | ||||
| %if %{with mysql_names} | ||||
| Requires:         mysql-compat-client%{?_isa} | ||||
| Requires:         mysql%{?_isa} | ||||
| %else | ||||
| Requires:         %{name}%{?_isa} | ||||
| %endif | ||||
| Requires:         %{name}-common%{?_isa} = %{sameevr} | ||||
| Requires:         %{_sysconfdir}/my.cnf | ||||
| Requires:         %{_sysconfdir}/my.cnf.d | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user