SHA256
1
0
forked from pool/Modules

Compare commits

...

17 Commits

Author SHA256 Message Date
Ana Guerrero
5dd0bbe6c3 Accepting request 1246564 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1246564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=29
2025-02-18 18:08:56 +00:00
Philipp Wagner
eb13db9d75 - Make use of %configure macro to build with distro flags
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=39
2025-02-18 06:24:40 +00:00
8af2722a8f Accepting request 1196314 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1196314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=28
2024-08-29 13:42:47 +00:00
Christian Wittmer
1132948d58 - remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=37
2024-08-27 15:39:13 +00:00
Ana Guerrero
d2c8194ea7 Accepting request 1179629 from systemsmanagement
- Use %autosetup macro: allows us to eliminate usage of deprecated
  %patchN syntax. (forwarded request 1175519 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1179629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=27
2024-06-10 15:37:07 +00:00
Richard Brown
d067b68638 Accepting request 910816 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/910816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=26
2021-08-12 07:01:06 +00:00
97e2e95fb1 Accepting request 891845 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/891845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=25
2021-05-12 17:31:28 +00:00
Richard Brown
beaed7194d Accepting request 882079 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/882079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=24
2021-04-06 15:28:49 +00:00
3c816455e3 Accepting request 807492 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/807492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=23
2020-06-11 12:37:00 +00:00
caa7359017 Accepting request 597449 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/597449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=22
2018-04-25 07:57:16 +00:00
7a809c1d95 Accepting request 263281 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/263281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=21
2014-12-03 21:49:41 +00:00
Stephan Kulow
b0fbf4ee8e Accepting request 246467 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/246467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=20
2014-08-29 15:42:16 +00:00
Stephan Kulow
b9b6f0648f Accepting request 185562 from systemsmanagement
- Set -DUSE_INTERP_RESULT and -DUSE_INTERP_ERRORLINE" to fix build
  with Tcl 8.6. (forwarded request 185480 from rmax)

OBS-URL: https://build.opensuse.org/request/show/185562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=17
2013-08-02 13:25:10 +00:00
Stephan Kulow
d256b3291c Accepting request 150932 from systemsmanagement
update license to new format (forwarded request 150924 from coolo)

OBS-URL: https://build.opensuse.org/request/show/150932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=16
2013-02-04 19:54:37 +00:00
Stephan Kulow
fc77f18261 Accepting request 146240 from systemsmanagement
- update to 3.2.10
  * Fixed the module switch with custom delimiters (Tyson Whitehead)
  * If a bash shell check if interactive or not for alias/functions
  * Fix the flags with regards to recursive load/unload
  * Fix perl.pm init file typo (bug 3497092)
  * Moved from cvs to git (and now: modulefile/module-git)
  * Fix the module swap with the --delim option (Tyson Whitehead)
  * Increased the "update" buffer (Leon Kos)
  * Use the locale for sorting modulefiles by the avail command
  * Fixed the segfault problem with Tcl_RegExpCompile() (Kenneth Hoste,
    Tyson Whitehead)
  * Updated the FSF address in LICENSE.GPL (Jan Synacek)
  * Forked the Tcl-only version to be maintained by Kent Mein.
  * Added the "module-info type" query to return 'C' to indicate that
    the modulecmd executable is the "C" version.
    (The Tcl-only version will return 'Tcl'.)
  * Search /usr/lib64 for tclConfig.sh also (Jan Synacek)
  * Tested loading 20 other modulefiles from a single one
  * Have ChangeLog generated by a script due to Marcus D. Hanwell

OBS-URL: https://build.opensuse.org/request/show/146240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=14
2012-12-22 21:17:43 +00:00
Stephan Kulow
6e1d7d4fb6 Accepting request 133433 from systemsmanagement
- complete the move from /usr/Modules to /usr/share/Modules
  (bnc#778525)

- update to 3.2.9c 
  * Fix the coexistence of load/remove flags (Martin Siegert)
  * Fixed an overlapping string copy (Wilson Snyder & Orion Poplawski)
  * Isolated calls to the new interpreter and get & set env.vars.
  * Crucial bug fix of same by (Orion Poplawski).
  * Optionally use Tcl memory check routines for malloc/realloc.
  * Fixed the "module purge" memory corruption (Poor Yorick)
  * Added support for Ruby (Tammo Tjarks)
- replace defaut in the profile files with the proper version
- make module files from /etc %config

OBS-URL: https://build.opensuse.org/request/show/133433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=13
2012-09-13 05:03:08 +00:00
Stephan Kulow
4b6202e7e2 Accepting request 98358 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/98358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Modules?expand=0&rev=11
2011-12-30 07:46:08 +00:00
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Feb 3 16:19:09 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Make use of %configure macro to build with distro flags
-------------------------------------------------------------------
Tue Aug 27 10:03:05 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Tue May 21 10:40:16 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -32,6 +32,7 @@ Requires: python3
Requires: tcl
Source: https://download.sourceforge.net/project/modules/Modules/modules-%{version}/modules-%{version}.tar.gz
Patch1: Remove-empty-unused-static-function.patch
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: environment-modules
%if 0%{?suse_version}
@ -101,7 +102,7 @@ applications.
sed -i 's@/usr/bin/env bash@/bin/bash@' script/envml
%build
./configure \
%configure \
--initdir="%{_datadir}/%name/init" \
--libexecdir="%{_prefix}/%_lib/%{name}/" \
--prefix="%_prefix" \
@ -117,7 +118,7 @@ sed -i 's@/usr/bin/env bash@/bin/bash@' script/envml
--libdir=%{_libdir}/%{name} \
--enable-compat-version \
--with-python=/usr/bin/python3
make %{?_smp_mflags}
%make_build
%install
install -d %{buildroot}/usr/share/modules
@ -126,6 +127,7 @@ make DESTDIR=%{buildroot} install
install -d %{buildroot}/usr/bin
mv %{buildroot}/usr/share/doc doc_dir
%fdupes -s %{buildroot}%{_datadir}
%python3_fix_shebang
ln -sf %{_datadir}/Modules/init/profile.sh %{buildroot}%{_sysconfdir}/profile.d/modules.sh
ln -sf %{_datadir}/Modules/init/profile.csh %{buildroot}%{_sysconfdir}/profile.d/modules.csh