Require environment(modules)

This commit is contained in:
Orion Poplawski 2015-12-22 12:07:12 -07:00
parent 228dc2d27d
commit b3d7787ad4
2 changed files with 6 additions and 3 deletions

View File

View File

@ -1,12 +1,12 @@
Name: rpm-mpi-hooks
Version: 3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: RPM dependency generator hooks for MPI packages
License: MIT
BuildArch: noarch
Source0: mpi.attrs
Source0: mpi.attr
Source1: mpilibsymlink.attr
Source2: mpi.prov
Source3: mpi.req
@ -14,7 +14,7 @@ Source4: LICENSE
Requires: filesystem
# Instead of adding a BuildRequires to every MPI implementation spec
Requires: environment-modules
Requires: environment(modules)
%description
RPM dependency generator hooks for MPI packages. This package should be added
@ -46,6 +46,9 @@ install -Dpm 0755 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/mpi.req
%changelog
* Tue Dec 22 2015 Orion Poplawski <orion@cora.nwra.com> - 3-4
- Require environment(modules)
* Mon Nov 2 2015 Orion Poplawski <orion@cora.nwra.com> - 3-3
- Drop requires rpm-build, fileattrs now owned by rpm