Use real- prefix for cross-package requirements
This commit is contained in:
parent
95a0a0aa9f
commit
c6e30efe80
27
mysql.spec
27
mysql.spec
@ -1,6 +1,6 @@
|
|||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 5.5.29
|
Version: 5.5.29
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
Summary: MySQL client programs and shared libraries
|
Summary: MySQL client programs and shared libraries
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
@ -68,7 +68,7 @@ BuildRequires: perl(Socket), perl(Time::HiRes)
|
|||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
|
|
||||||
Requires: grep, fileutils
|
Requires: grep, fileutils
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: bash
|
Requires: bash
|
||||||
|
|
||||||
# We can use real- prefix to distinguish from other MySQL implementations
|
# We can use real- prefix to distinguish from other MySQL implementations
|
||||||
@ -113,8 +113,8 @@ MySQL server.
|
|||||||
|
|
||||||
Summary: The MySQL server and related files
|
Summary: The MySQL server and related files
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: sh-utils
|
Requires: sh-utils
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
@ -145,8 +145,8 @@ the MySQL server and some accompanying files and directories.
|
|||||||
|
|
||||||
Summary: Files for development of MySQL applications
|
Summary: Files for development of MySQL applications
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: openssl-devel%{?_isa}
|
Requires: openssl-devel%{?_isa}
|
||||||
Conflicts: MySQL-devel
|
Conflicts: MySQL-devel
|
||||||
Provides: real-%{name}-devel = %{version}-%{release}
|
Provides: real-%{name}-devel = %{version}-%{release}
|
||||||
@ -173,8 +173,8 @@ into a client application instead of running as a separate process.
|
|||||||
|
|
||||||
Summary: Development files for MySQL as an embeddable library
|
Summary: Development files for MySQL as an embeddable library
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}-embedded%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-embedded%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
Provides: real-%{name}-embedded-devel = %{version}-%{release}
|
Provides: real-%{name}-embedded-devel = %{version}-%{release}
|
||||||
Provides: real-%{name}-embedded-devel%{?_isa} = %{version}-%{release}
|
Provides: real-%{name}-embedded-devel%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ the embedded version of the MySQL server.
|
|||||||
|
|
||||||
Summary: MySQL benchmark scripts and data
|
Summary: MySQL benchmark scripts and data
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}%{?_isa} = %{version}-%{release}
|
||||||
Conflicts: MySQL-bench
|
Conflicts: MySQL-bench
|
||||||
Provides: real-%{name}-bench = %{version}-%{release}
|
Provides: real-%{name}-bench = %{version}-%{release}
|
||||||
Provides: real-%{name}-bench%{?_isa} = %{version}-%{release}
|
Provides: real-%{name}-bench%{?_isa} = %{version}-%{release}
|
||||||
@ -201,9 +201,9 @@ MySQL.
|
|||||||
|
|
||||||
Summary: The test suite distributed with MySQL
|
Summary: The test suite distributed with MySQL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
Requires: real-%{name}-server%{?_isa} = %{version}-%{release}
|
||||||
Conflicts: MySQL-test
|
Conflicts: MySQL-test
|
||||||
Provides: real-%{name}-test = %{version}-%{release}
|
Provides: real-%{name}-test = %{version}-%{release}
|
||||||
Provides: real-%{name}-test%{?_isa} = %{version}-%{release}
|
Provides: real-%{name}-test%{?_isa} = %{version}-%{release}
|
||||||
@ -726,6 +726,9 @@ fi
|
|||||||
%{_mandir}/man1/mysql_client_test.1*
|
%{_mandir}/man1/mysql_client_test.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
|
||||||
|
- Use real- prefix for cross-package requirements
|
||||||
|
|
||||||
* Mon Feb 11 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
|
* Mon Feb 11 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
|
||||||
- Provide own symbols with real- prefix to distinguish packages from other
|
- Provide own symbols with real- prefix to distinguish packages from other
|
||||||
MySQL implementations unambiguously
|
MySQL implementations unambiguously
|
||||||
|
Loading…
Reference in New Issue
Block a user