rpms/environment-modules/devel environment-modules-3.2.7-bindir.patch, NONE, 1.1 environment-modules.spec, 1.23, 1.24
Orion Poplawski
orion at fedoraproject.org
Wed Sep 23 19:55:43 UTC 2009
Author: orion
Update of /cvs/pkgs/rpms/environment-modules/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14346
Modified Files:
environment-modules.spec
Added Files:
environment-modules-3.2.7-bindir.patch
Log Message:
* Wed Sep 23 2009 Orion Poplawski <orion at cora.nwra.com> - 3.2.7b-2
- Add patch to fix modulecmd path in init files
environment-modules-3.2.7-bindir.patch:
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE environment-modules-3.2.7-bindir.patch ---
--- modules-3.2.7/init/Makefile.in.bindir 2009-09-22 12:13:52.000000000 -0600
+++ modules-3.2.7/init/Makefile.in 2009-09-23 12:19:50.797470155 -0600
@@ -404,7 +404,7 @@
sed -e "/@$(if $(subst 0,,$(WANTS_VERSIONING)),NOT,)VERSIONING\@/d; \
s,@$(if $(subst 0,,$(WANTS_VERSIONING)),,NOT)VERSIONING\@,,g; \
s, at prefix\@,${prefix},g; \
- s, at bindir\@,${exec_prefix}/bin,g; \
+ s, at bindir\@,${bindir},g; \
s, at VERSION\@, at VERSION@,g; \
s, at BASEPREFIX\@, at BASEPREFIX@,g;" < $< > $@
Index: environment-modules.spec
===================================================================
RCS file: /cvs/pkgs/rpms/environment-modules/devel/environment-modules.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- environment-modules.spec 23 Sep 2009 15:06:47 -0000 1.23
+++ environment-modules.spec 23 Sep 2009 19:55:43 -0000 1.24
@@ -1,12 +1,13 @@
Name: environment-modules
Version: 3.2.7b
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Provides dynamic modification of a user's environment
Group: System Environment/Base
License: GPLv2+
URL: http://modules.sourceforge.net/
Source0: http://downloads.sourceforge.net/modules/modules-%{version}.tar.bz2
+Patch0: environment-modules-3.2.7-bindir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel, tclx-devel, libX11-devel
@@ -38,12 +39,15 @@ have access to the module alias.
%prep
%setup -q -n modules-3.2.7
+%patch0 -p1 -b .bindir
%build
-%configure --disable-versioning --prefix=%{_datadir} \
+%configure --disable-versioning \
+ --prefix=%{_datadir} \
--exec-prefix=%{_datadir}/Modules \
--with-module-path=%{_sysconfdir}/modulefiles
+
# --with-debug=42 --with-log-facility-debug=stderr
make %{?_smp_mflags}
@@ -73,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Sep 23 2009 Orion Poplawski <orion at cora.nwra.com> - 3.2.7b-2
+- Add patch to fix modulecmd path in init files
+
* Wed Sep 23 2009 Orion Poplawski <orion at cora.nwra.com> - 3.2.7b-1
- Update to 3.2.7b
More information about the fedora-extras-commits
mailing list