Skip to content

Commit

Permalink
add requirements back and set spec up for python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mwinkens committed Jul 15, 2024
1 parent 9681c8d commit ad46f73
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nagios-plugins-eudat-b2access.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,26 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
%global python3_pkgversion 3.10

Name: nagios-plugins-eudat-b2access
Version: 1.0
Release: 1%{?dist}
Summary: Nagios B2ACCESS probes
License: Apache License, Version 2.0
Packager: Shiraz Memon <[email protected]>
URL: https://github.com/EUDAT-B2ACCESS/b2access-probe

Source: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}

Requires: python
BuildRequires: python%{python3_pkgversion}
BuildRequires: python%{python3_pkgversion}-oauthlib
BuildRequires: python%{python3_pkgversion}-requests-oauthlib
BuildRequires: python%{python3_pkgversion}-urllib3
BuildRequires: python%{python3_pkgversion}-validators
BuildRequires: python%{python3_pkgversion}-requests

%description
Nagios probes to check functionality of B2ACCESS Service
Expand All @@ -48,6 +55,8 @@ install -m 755 check_b2access.py %{buildroot}/%{_libexecdir}/argo-monitoring/pro
%attr(0755,root,root) /%{_libexecdir}/argo-monitoring/probes/%{probe_namespace}/check_b2access.py

%changelog
* Mon Jul 14 2024 Marvin Winkens <[email protected]> - 1.0-1
- Updated to python 3
* Tue Jun 05 2018 Shiraz Memon <[email protected]> - 0.4-1
- Adapted to Unity v2.x.x REST API
- More details in verbose mode
Expand Down

0 comments on commit ad46f73

Please sign in to comment.