import environment-modules-4.5.2-1.el8

This commit is contained in:
CentOS Sources 2020-08-19 18:28:11 +00:00 committed by Andrew Lukoshko
parent af3add3335
commit 37774ea3f4
4 changed files with 25 additions and 3 deletions

View File

@ -1 +1 @@
f2a28c14d6df972d3ed9f5480279be09a21bcbe8 SOURCES/modules-4.5.1.tar.bz2
a260805197fa5d5acd57f45505ded181025ead8e SOURCES/modules-4.5.2.tar.bz2

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/modules-4.5.1.tar.bz2
SOURCES/modules-4.5.2.tar.bz2

View File

@ -0,0 +1,17 @@
Partially reverts https://github.com/cea-hpc/modules/commit/6a80cd9a460160fee96ed46b175b716989adbf27.
Fedora still uses rpm macros that add "--build=x86_64-redhat-linux-gnu" to the configure arguments
and since this configure is not a proper gnu one, it would always error out and never build.
See https://bugzilla.redhat.com/show_bug.cgi?id=1842562.
--- a/configure 2020-07-30 14:13:34.000000000 +0200
+++ b/configure 2020-08-03 16:06:37.137023909 +0200
@@ -598,8 +598,6 @@
--with-x|--without-x)
# pass argument supported by compat version to its ./configure script
compatarglist+="$arg " ;;
- *)
- echo_error "Unrecognized option \`$arg'" 1;;
esac
done

View File

@ -2,7 +2,7 @@
%global vimdatadir %{_datadir}/vim/vimfiles
Name: environment-modules
Version: 4.5.1
Version: 4.5.2
Release: 1%{?dist}
Summary: Provides dynamic modification of a user's environment
@ -10,6 +10,7 @@ Group: System Environment/Base
License: GPLv2+
URL: http://modules.sourceforge.net/
Source0: http://downloads.sourceforge.net/modules/modules-%{version}.tar.bz2
Patch0001: environment-modules-configure.patch
BuildRequires: tcl-devel, libX11-devel
BuildRequires: dejagnu, sed, procps, hostname, man, less
@ -57,6 +58,7 @@ This package provides Environment Modules compatibility version (3.2).
%prep
%setup -q -n modules-%{version}
%patch0001 -p1
%build
@ -189,6 +191,9 @@ fi
%changelog
* Tue Aug 18 2020 Jan Synáček <jsynacek@redhat.com> - 4.5.2-1
- Update to 4.5.2 (#1860674)
* Mon Jul 13 2020 Jan Synáček <jsynacek@redhat.com> - 4.5.1-1
- Update to 4.5.1 (#1642837)