[openni] Mark modules.xml as config file, fixes deregistering of modules on upgrade

Tim Niemueller timn at fedoraproject.org
Fri Dec 23 00:35:24 UTC 2011


commit 780b8fedbde354054904d776489455357f616ba7
Author: Tim Niemueller <niemueller at kbsg.rwth-aachen.de>
Date:   Sun Dec 4 17:37:25 2011 +0100

    Mark modules.xml as config file, fixes deregistering of modules on upgrade

 openni.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/openni.spec b/openni.spec
index b8d6d7a..04150b8 100644
--- a/openni.spec
+++ b/openni.spec
@@ -2,7 +2,7 @@
 
 Name:           openni
 Version:        1.3.2.1
-Release:        0.2.git%{gitrev}%{?dist}
+Release:        0.3.git%{gitrev}%{?dist}
 Summary:        Library for human-machine Natural Interaction
 
 Group:          System Environment/Libraries
@@ -166,6 +166,7 @@ fi
 %defattr(-,root,root,-)
 %doc LGPL.txt README
 %dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_var}/lib/ni/modules.xml
 %{_libdir}/*.so
 %{_bindir}/ni*
 %{_var}/lib/ni
@@ -194,6 +195,9 @@ fi
 
 
 %changelog
+* Sun Dec 04 2011 Tim Niemueller <tim at niemueller.de> 1.3.2.1-0.3.gitf8467404
+- Mark modules.xml as config file, fixes deregistering of modules on upgrade
+
 * Wed Oct 12 2011 Tim Niemueller <tim at niemueller.de> 1.3.2.1-0.2.gitf8467404
 - Fix passing of opt cflags, fixes bz #735594
 


More information about the scm-commits mailing list