[packages/python] - /etc/shrc.d/* files as configs

adwol adwol at pld-linux.org
Tue Nov 21 17:08:36 CET 2017


commit 27b89c8bf828e1952bf486f4abcf0763c7aa30f0
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Tue Nov 21 17:01:37 2017 +0100

    - /etc/shrc.d/* files as configs

 python.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index 480bf70..22bd128 100644
--- a/python.spec
+++ b/python.spec
@@ -731,7 +731,7 @@ rm -rf $RPM_BUILD_ROOT
 %files modules
 %defattr(644,root,root,755)
 %doc Lib/pdb.doc
-/etc/shrc.d/python-modules*
+%config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/python-modules*
 %exclude %{py_libdir}/_abcoll.py[co]
 %exclude %{py_libdir}/abc.py[co]
 %exclude %{py_libdir}/UserDict.py[co]
@@ -1032,7 +1032,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel-tools
 %defattr(644,root,root,755)
-/etc/shrc.d/python-devel*
+%config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/python-devel*
 
 %attr(755,root,root) %{py_dyndir}/_hotshot.so
 %dir %{py_libdir}/hotshot
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/27b89c8bf828e1952bf486f4abcf0763c7aa30f0



More information about the pld-cvs-commit mailing list