From 75f01f8bdff757a89c80aa4f0cc61608b9ff56e5 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Tue, 26 Apr 2016 14:54:51 -0700 Subject: [PATCH] LU-8073 build: Eliminate lustre-source binary package The lustre source code is already available in tarball form and on rpm systems in .src.rpm form. The source code is also incidentally available in the lustre-debuginfo package. The reasons for ever having a lustre-source binary package are probably lost to history. But this is a really odd thing to do, so we remove that package from the build system. Change-Id: I4a175c556d70a380eb550e5ec2830f4a8d3cd04a Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/19806 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Brian J. Murrell Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lustre.spec.in | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lustre.spec.in b/lustre.spec.in index bcd2349..f20e064 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -186,13 +186,6 @@ ZFS hooks for mount/mkfs into a dynamic library. %endif %endif # with lustre_modules -%package source -Summary: Object-Based Disk storage driver source -Group: Development/Kernel - -%description source -Lustre sources for further development - # Since the RPMs we ship are to be used on both SLES and RHEL, we # can't include any dependency information (since the package names # are different on the two platforms). @@ -350,13 +343,6 @@ echo '%{_sysconfdir}/init.d/lnet' >>lustre.files echo '%{_sysconfdir}/init.d/lsvcgss' >>lustre.files %endif -# Create the pristine source directory. -cd $RPM_BUILD_DIR/lustre-%{version} -mkdir -p $RPM_BUILD_ROOT%{_prefix}/src -rm -f lustre-source -ln -s $RPM_BUILD_ROOT%{_prefix}/src lustre-source -make distdir distdir=lustre-source/lustre-%{version} -chmod -R go-w lustre-source/lustre-%{version} # fc18 needs 'x' permission for library files find $RPM_BUILD_ROOT -name \*.so -type f -exec chmod +x {} \; @@ -479,10 +465,6 @@ echo '/lib/modules/%{kversion}/%{kmoddir}/kernel/fs/@PACKAGE@/llog_test.ko' >>lu %endif %endif # with lustre_modules -%files source -%defattr(-,root,root) -%{_prefix}/src/lustre-%{version} - # uncomment these lines to enable deps packages # %files deps-sles # %files deps-rhel -- 1.8.3.1