Skip to content

Commit

Permalink
Merge pull request #398 from brianhlin/HTCONDOR-84.fix-non-htcondor-i…
Browse files Browse the repository at this point in the history
…nstalls

Fix CHTC repo non-HTCondor package installs (HTCONDOR-84)
  • Loading branch information
matyasselmeci committed Nov 20, 2020
2 parents ca24c21 + 0757795 commit d62e193
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
31 changes: 6 additions & 25 deletions rpm/htcondor-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Name: htcondor-ce
Version: 4.4.1
Release: 2%{?gitrev:.%{gitrev}git}%{?dist}
Release: 3%{?gitrev:.%{gitrev}git}%{?dist}
Summary: A framework to run HTCondor as a CE
BuildArch: noarch

Expand Down Expand Up @@ -99,12 +99,7 @@ Requires: %{name} = %{version}-%{release}
Group: Applications/System
Summary: Default routes for submission to PBS
Requires: %{name} = %{version}-%{release}

%if 0%{?uw_build}
Requires: /usr/libexec/condor/glite/bin/batch_gahp
%else
Requires: blahp
%endif

%description pbs
%{summary}
Expand All @@ -113,12 +108,7 @@ Requires: blahp
Group: Applications/System
Summary: Default routes for submission to LSF
Requires: %{name} = %{version}-%{release}

%if 0%{?uw_build}
Requires: /usr/libexec/condor/glite/bin/batch_gahp
%else
Requires: blahp
%endif

%description lsf
%{summary}
Expand All @@ -127,12 +117,7 @@ Requires: blahp
Group: Applications/System
Summary: Default routes for submission to SGE
Requires: %{name} = %{version}-%{release}

%if 0%{?uw_build}
Requires: /usr/libexec/condor/glite/bin/batch_gahp
%else
Requires: blahp
%endif

%description sge
%{summary}
Expand All @@ -141,12 +126,7 @@ Requires: blahp
Group: Applications/System
Summary: Default routes for submission to Slurm
Requires: %{name} = %{version}-%{release}

%if 0%{?uw_build}
Requires: /usr/libexec/condor/glite/bin/batch_gahp
%else
Requires: blahp
%endif

%description slurm
%{summary}
Expand Down Expand Up @@ -174,10 +154,6 @@ Requires: voms-clients-cpp
Requires: voms-clients
%endif

%if ! 0%{?uw_build}
Requires: grid-certificates >= 7
%endif

%if 0%{?rhel} >= 8
%define __python /usr/bin/python3
Requires: python3-condor
Expand Down Expand Up @@ -544,6 +520,11 @@ fi
%{_localstatedir}/www/wsgi-scripts/htcondor-ce/htcondor-ce-registry.wsgi

%changelog
* Fri Nov 20 2020 Brian Lin <blin@cs.wisc.edu> - 4.4.1-3
- Fix blahp requirements for HTCondor 8.9.9 (HTCONDOR-84)
- Remove OSG grid-certificates requirement duplicated by downstream
requirements in the osg-ce metapackage

* Wed Jul 15 2020 Mátyás Selmeci <matyas@cs.wisc.edu> - 4.4.1-2
- Change voms-clients-cpp requirement to voms-clients for non-OSG builds,
because voms-clients-java works equally well
Expand Down
1 change: 1 addition & 0 deletions tests/test_inside_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ mkdir -p /var/run/lock
RPM_LOCATION=/tmp/rpmbuild/RPMS/noarch
if [[ $BUILD_ENV == osg ]]; then
extra_repos='--enablerepo=osg-development'
extra_packages='python3-rpm'
else
# UW build tests run against HTCondor 8.8.0, which does not automatically configure a personal condor
# The 'minicondor' package now provides that configuration
Expand Down

0 comments on commit d62e193

Please sign in to comment.