Skip to content

Commit

Permalink
Add missing PERL dependencies for EL9 (#16)
Browse files Browse the repository at this point in the history
* Add missing PERL dependencies for EL9.
* Prepare version 1.6.1

Fix #15.
  • Loading branch information
gwarf authored Jun 28, 2024
1 parent 26960c1 commit b84f1a0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ jobs:
yum install -y epel-release
yum localinstall -y glite-info-provider-ldap-*.el7.noarch.rpm
# FIXME: openldap-servers is in CentOS 8 Stream Powertools, but not in AlmaLinux PowerTools
# See https://bugs.almalinux.org/view.php?id=222
# Currently instaling using the package from devel repository
# See https://bugs.almalinux.org/view.php?id=100
# https://repo.almalinux.org/almalinux/8/devel/x86_64/os/Packages/
# XXX: From PowerTools: openldap-servers
install-almalinux8:
name: Install AlmaLinux 8 RPMs
needs: build-almalinux
Expand All @@ -87,7 +83,8 @@ jobs:
name: rpms8
- name: Install generated RPMs
run: |
yum install -y https://repo.almalinux.org/almalinux/8/devel/x86_64/os/Packages/openldap-servers-2.4.46-18.el8.x86_64.rpm
yum install -y dnf-plugins-core
dnf config-manager --set-enabled powertools
yum localinstall -y glite-info-provider-ldap-*.el8.noarch.rpm
# XXX Dependencies from EPEL: openldap-servers
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## [Unreleased]

## [1.6.1] - 2024-06-28

### Added

- Add missing perl dependencies for EL9. (#16) (Baptiste Grenier)

## [1.6.0] - 2023-04-04

### Changed
Expand Down
8 changes: 7 additions & 1 deletion glite-info-provider-ldap.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: glite-info-provider-ldap
Version: 1.6.0
Version: 1.6.1
Release: 1%{?dist}
Summary: LDAP information provider
Group: Development/Libraries
Expand All @@ -11,6 +11,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rsync
BuildRequires: make
Requires: openldap-servers
%if 0%{?rhel} >= 9
Requires: perl-File-Copy
Requires: perl-libwww-perl
%endif

%description
Information provider to query LDAP sources and return the result.
Expand Down Expand Up @@ -40,6 +44,8 @@ rm -rf %{buildroot}
%license /usr/share/licenses/%{name}-%{version}/LICENSE.txt

%changelog
* Tue Apr 28 2024 Baptiste Grenier <baptiste.grenier@egi.eu> - 1.6.1-1
- Add missing perl dependencies for EL9. (#16) (Baptiste Grenier)

* Tue Apr 4 2023 Baptiste Grenier <baptiste.grenier@egi.eu> - 1.6.0-1
- Build and release using CentOS 7, AlmaLinux 8 and 9. (#12) (Baptiste Grenier)
Expand Down

0 comments on commit b84f1a0

Please sign in to comment.