From 358576530c5503f251bc7f4c53cb04064a78aee6 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 12 Dec 2014 14:12:35 +0100 Subject: build: prevent double packaging of geo-replication and other scripts The regression-tests sub-package contains /usr/share/glusterfs/* instead of including only the needed files. This causes some of the scripts that are part of geo-replication to be packaged twice. BUG: 1169005 Change-Id: Ib452e73f3c1775b252ab257aab852ad9af857e74 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/9272 Reviewed-by: Lalatendu Mohanty Tested-by: Gluster Build System --- glusterfs.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index eb2bff253e7..876db1b635e 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -849,6 +849,7 @@ fi %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/rot-13* %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/mac-compat* %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/testing/performance/symlink-cache* +%dir %{_datadir}/glusterfs/scripts %{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh %{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh @@ -937,7 +938,8 @@ fi %endif %files regression-tests -%{_prefix}/share/glusterfs/* +%{_prefix}/share/glusterfs/run-tests.sh +%{_prefix}/share/glusterfs/tests %exclude %{_prefix}/share/glusterfs/tests/basic/rpm.t %if ( 0%{!?_without_ocf:1} ) @@ -1018,6 +1020,9 @@ fi %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %changelog +* Fri Dec 12 2014 Niels de Vos +- do not package all /usr/share/glusterfs/* files in regression-tests (#1169005) + * Fri Sep 26 2014 Kaleb S. KEITHLEY - smarter logic in %%post server (#1146426) -- cgit