[pkg] do not include all files in spec centos/0.34.0-2
authorSamuel Trégouët <samuel.tregouet@logilab.fr>
Fri, 29 Jan 2016 14:55:44 +0100
changeset 796 a9be3f7161c4
parent 795 aa6c753b0a4e
child 797 f550c2f186df
[pkg] do not include all files in spec our spec files conflict with filesystem package in centos7: we set permission 755 for /usr/bin and /usr/lib whereas filesystem set it to 555. So to be compatible with both centos7 and others we simply ignore theses directories.
python-rql.spec
--- a/python-rql.spec	Mon Jan 04 17:17:34 2016 +0100
+++ b/python-rql.spec	Fri Jan 29 14:55:44 2016 +0100
@@ -6,6 +6,8 @@
 %define python python
 %define __python /usr/bin/python
 %endif
+%define lib64dir %{_prefix}/lib64
+%define debugdir %{_libdir}/debug
 
 Name:           %{python}-rql
 Version:        0.34.0
@@ -52,5 +54,7 @@
 
 %files 
 %defattr(-, root, root)
-/*
-
+%{_python_sitelib}/*
+%{_usrsrc}/*
+%{_lib64dir}/*
+%{_libdir}/*