Created attachment 1594035 [details]
Example patch for the environment-modules RPM specfile
I am crafting this ticket manually as the "Upstream Release Monitoring" did not spawn a ticket this time.
There is a new feature release for Environment-Modules: 4.3.0. Details are available at: https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/modules-4-3-0-released
I attach to this ticket an example patch for the environment-modules RPM specfile. This is the change applied to the specfile provided in the contrib directory of the Modules project.
New features in this release lead to changes on the specfile:
- Update to 4.3.0
- Add Vim syntax addons
- Enable libtclenvmodules
- Add a default site configuration file in etc directory
- Disable shell startup file set (bug #1578587 and bug #1699234)
- Set etc directory to /etc/environment-modules and move in it configuration files previously installed in init directory. modulerc and .modulespath files in init directory respectively become initrc and modulespath in etc directory (bug #1506663)
The two last items may lead to some incompatibilities with the previous versions, but help to solve issues reported here.
(In reply to Xavier Delaruelle from comment #0)
> Created attachment 1594035 [details]
> Example patch for the environment-modules RPM specfile
Why the added dependency on libX11-devel? I don't see anything in the changelog that would require such change.
It was already there in the previous version of this contrib spec file. The `BuildRequires: tcl-devel, tclx-devel, libX11-devel` line has been split in two BuildRequires directives to distinguish tcl-devel which is now also needed to build the extension library, from tclx-devel and libX11-devel which are only needed to build compat version.
Oh, sorry about that, I got confused by the diff... Let's blame it on monday.