- Really do not replace modified profile.d scripts (bug #962762)
- Specfile cleanup
This commit is contained in:
parent
c228606f00
commit
6dede715e3
@ -1,6 +1,6 @@
|
|||||||
Name: environment-modules
|
Name: environment-modules
|
||||||
Version: 3.2.10
|
Version: 3.2.10
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Provides dynamic modification of a user's environment
|
Summary: Provides dynamic modification of a user's environment
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -19,7 +19,6 @@ Patch1: environment-modules-versioning.patch
|
|||||||
Patch2: environment-modules-clear.patch
|
Patch2: environment-modules-clear.patch
|
||||||
# Patch from modules list to add completion to avail command
|
# Patch from modules list to add completion to avail command
|
||||||
Patch3: environment-modules-avail.patch
|
Patch3: environment-modules-avail.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: tcl-devel, tclx-devel, libX11-devel
|
BuildRequires: tcl-devel, tclx-devel, libX11-devel
|
||||||
BuildRequires: dejagnu
|
BuildRequires: dejagnu
|
||||||
@ -71,7 +70,6 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||||
cp -p %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/modules.sh
|
cp -p %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/modules.sh
|
||||||
@ -80,16 +78,11 @@ ln -s %{_datadir}/Modules/init/csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/modul
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modulefiles
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modulefiles
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE.GPL README TODO
|
%doc LICENSE.GPL README TODO
|
||||||
%{_sysconfdir}/modulefiles
|
%{_sysconfdir}/modulefiles
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/*
|
%config(noreplace) %{_sysconfdir}/profile.d/*
|
||||||
@ -97,7 +90,7 @@ make test
|
|||||||
%dir %{_datadir}/Modules
|
%dir %{_datadir}/Modules
|
||||||
%{_datadir}/Modules/bin/
|
%{_datadir}/Modules/bin/
|
||||||
%dir %{_datadir}/Modules/init
|
%dir %{_datadir}/Modules/init
|
||||||
%{_datadir}/Modules/init/*
|
%config(noreplace) %{_datadir}/Modules/init/*
|
||||||
%config(noreplace) %{_datadir}/Modules/init/.modulespath
|
%config(noreplace) %{_datadir}/Modules/init/.modulespath
|
||||||
%{_datadir}/Modules/modulefiles
|
%{_datadir}/Modules/modulefiles
|
||||||
%{_mandir}/man1/module.1.gz
|
%{_mandir}/man1/module.1.gz
|
||||||
@ -105,6 +98,10 @@ make test
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 14 2013 Orion Poplawski <orion@cora.nwra.com> - 3.2.10-5
|
||||||
|
- Really do not replace modified profile.d scripts (bug #962762)
|
||||||
|
- Specfile cleanup
|
||||||
|
|
||||||
* Wed Apr 17 2013 Orion Poplawski <orion@cora.nwra.com> - 3.2.10-4
|
* Wed Apr 17 2013 Orion Poplawski <orion@cora.nwra.com> - 3.2.10-4
|
||||||
- Do not replace modified profile.d scripts (bug #953199)
|
- Do not replace modified profile.d scripts (bug #953199)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user