Skip to content

Commit 6b9f52c

Browse files
authored
Merge pull request #196 from brianhlin/master
Remove missed uw build/BDII conditionals
2 parents 0b4028a + c5fe192 commit 6b9f52c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

rpm/htcondor-ce.spec

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Name: htcondor-ce
55
Version: 3.1.2
6-
Release: 2%{?gitrev:.%{gitrev}git}%{?dist}
6+
Release: 3%{?gitrev:.%{gitrev}git}%{?dist}
77
Summary: A framework to run HTCondor as a CE
88
BuildArch: noarch
99

@@ -204,8 +204,8 @@ install -m 0755 -d -p $RPM_BUILD_ROOT/%{_localstatedir}/lock/condor-ce
204204
install -m 1777 -d -p $RPM_BUILD_ROOT/%{_localstatedir}/lock/condor-ce/user
205205
install -m 1777 -d -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/gratia/condorce_data
206206

207-
# bdii is CERN-only
208-
%if 0%{?osg} || 0%{?uw_build}
207+
# Don't build bdii sub-package for the OSG
208+
%if 0%{?osg}
209209
rm -rf $RPM_BUILD_ROOT%{_datadir}/condor-ce/htcondor-ce-provider
210210
rm -f $RPM_BUILD_ROOT%{_datadir}/condor-ce/config.d/06-ce-bdii-defaults.conf
211211
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/condor-ce/config.d/06-ce-bdii.conf
@@ -336,7 +336,7 @@ fi
336336
%attr(-,condor,condor) %dir %{_localstatedir}/lock/condor-ce
337337
%attr(1777,condor,condor) %dir %{_localstatedir}/lock/condor-ce/user
338338

339-
%if ! 0%{?osg} && ! 0%{?uw_build}
339+
%if ! 0%{?osg}
340340
%files bdii
341341
%attr(0755, ldap, ldap) %{_localstatedir}/lib/bdii/gip/provider/htcondor-ce-provider
342342

@@ -491,6 +491,9 @@ fi
491491
%attr(1777,root,root) %dir %{_localstatedir}/lib/gratia/condorce_data
492492

493493
%changelog
494+
* Thu Jun 07 2018 Brian Lin <blin@cs.wisc.edu> - 3.1.2-3
495+
- Ensure that all BDII files exist for the condor repository
496+
494497
* Thu Jun 07 2018 Brian Lin <blin@cs.wisc.edu> - 3.1.2-2
495498
- Build the BDII sub-package for the condor repository
496499

0 commit comments

Comments
 (0)