Whamcloud - gitweb
LU-7228 build: make lustre rpm also provide lustre-client 73/16673/2
authorFrank Zago <fzago@cray.com>
Tue, 29 Sep 2015 20:47:38 +0000 (15:47 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Oct 2015 17:39:56 +0000 (17:39 +0000)
An application packaged in an rpm has to depend on either lustre or
lustre-client. Since the lustre rpm also includes everything the
lustre-client does, it should also provides lustre-client.

That way an application rpm only has to require lustre-client and not
juggle between a lustre or lustre-client dependency.

Signed-off-by: frank zago <fzago@cray.com>
Change-Id: I46ae8a96b0fbc6153a288bf45896f7b4ed1dfddc
Reviewed-on: http://review.whamcloud.com/16673
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Thomas LEIBOVICI <thomas.leibovici@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index ab4cb83..38659cd 100644 (file)
@@ -113,6 +113,7 @@ BuildRequires: python-docutils
 %if %{with servers}
 Requires: lustre-osd
 Requires: lustre-osd-mount
+Provides: lustre-client = %{version}-%{fullrelease}
 %if %{defined cross_requires}
 Requires: %{cross_requires}