[environment-modules] Do not replace modified profile.d scripts (bug #953199)

Orion Poplawski orion at fedoraproject.org
Wed Apr 17 17:29:11 UTC 2013


commit c228606f00de5b73243eaad26f65c622328cca89
Author: Orion Poplawski <orion at nwra.com>
Date:   Wed Apr 17 11:29:09 2013 -0600

    Do not replace modified profile.d scripts (bug #953199)

 environment-modules.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/environment-modules.spec b/environment-modules.spec
index f92fec7..bcbbba7 100644
--- a/environment-modules.spec
+++ b/environment-modules.spec
@@ -1,6 +1,6 @@
 Name:           environment-modules
 Version:        3.2.10
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Provides dynamic modification of a user's environment
 
 Group:          System Environment/Base
@@ -92,7 +92,7 @@ make test
 %defattr(-,root,root,-)
 %doc LICENSE.GPL README TODO
 %{_sysconfdir}/modulefiles
-%{_sysconfdir}/profile.d/*
+%config(noreplace) %{_sysconfdir}/profile.d/*
 %{_bindir}/modulecmd
 %dir %{_datadir}/Modules
 %{_datadir}/Modules/bin/
@@ -105,6 +105,9 @@ make test
 
 
 %changelog
+* Wed Apr 17 2013 Orion Poplawski <orion at cora.nwra.com> - 3.2.10-4
+- Do not replace modified profile.d scripts (bug #953199)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.10-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list