[zookeeper/f19] revert old sematic and update permissions

tstclair tstclair at fedoraproject.org
Mon Jul 22 16:03:19 UTC 2013


commit 7a8d2ee517976bb20f5e7a2d7cb086d04c5cbd3d
Author: Timothy St. Clair <tstclair at redhat.com>
Date:   Mon Jul 22 11:02:38 2013 -0500

    revert old sematic and update permissions

 zookeeper.spec |   27 +++++++++++----------------
 1 files changed, 11 insertions(+), 16 deletions(-)
---
diff --git a/zookeeper.spec b/zookeeper.spec
index d38cdfd..6a0e737 100644
--- a/zookeeper.spec
+++ b/zookeeper.spec
@@ -1,7 +1,7 @@
 %global _hardened_build 1
 Name:          zookeeper
 Version:       3.4.5
-Release:       8%{?dist}
+Release:       9%{?dist}
 Summary:       A high-performance coordination service for distributed applications
 Group:         Development/Libraries
 License:       ASL 2.0 and BSD
@@ -312,8 +312,7 @@ getent passwd zookeeper >/dev/null || \
 %postun server
 %systemd_postun_with_restart zookeeper.service
 
-%files
-%defattr(-,root,root,-)
+%files 
 %{_bindir}/cli_mt
 %{_bindir}/cli_st
 %{_bindir}/load_gen
@@ -321,23 +320,19 @@ getent passwd zookeeper >/dev/null || \
 %doc src/c/ChangeLog src/c/LICENSE src/c/NOTICE.txt src/c/README src/contrib/zktreeutil/README.txt
 
 %files lib
-%defattr(-,root,root,-)
 %{_libdir}/lib*.so.*
 %doc src/c/LICENSE src/c/NOTICE.txt
 
 %files lib-devel
-%defattr(-,root,root,-)
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/*.h
 %{_libdir}/*.so
 %doc src/c/LICENSE src/c/NOTICE.txt
 
 %files lib-doc
-%defattr(-,root,root,-)
 %doc src/c/LICENSE src/c/NOTICE.txt src/c/docs/html/*
 
 %files java
-%defattr(-,root,root,-)
 %{_javadir}/%{name}/%{name}.jar
 %{_javadir}/%{name}/%{name}-test.jar
 %{_javadir}/%{name}/%{name}-ZooInspector.jar
@@ -348,32 +343,32 @@ getent passwd zookeeper >/dev/null || \
 %doc CHANGES.txt LICENSE.txt NOTICE.txt README.txt
 
 %files javadoc
-%defattr(-,root,root,-)
 %{_javadocdir}/%{name}
 %doc LICENSE.txt NOTICE.txt
 
 %files -n python-ZooKeeper
-%defattr(-,root,root,-)
 %{python_sitearch}/ZooKeeper-?.?-py%{python_version}.egg-info
 %{python_sitearch}/zookeeper.so
 %doc LICENSE.txt NOTICE.txt src/contrib/zkpython/README
 
 %files server
-%defattr(-,root,root,-)
-%dir %{_sysconfdir}/zookeeper
-%ghost %config(noreplace) %{_sysconfdir}/zookeeper/zoo.cfg
-%{_sysconfdir}/zookeeper/zoo_sample.cfg
-%config(noreplace) %{_sysconfdir}/zookeeper/log4j.properties
+%attr(0755,root,root) %dir %{_sysconfdir}/zookeeper
+%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/zookeeper/zoo.cfg
+%attr(0644,root,root) %{_sysconfdir}/zookeeper/zoo_sample.cfg
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/zookeeper/log4j.properties
 
 %attr(0750,zookeeper,zookeeper) %dir %{_localstatedir}/log/zookeeper
-%attr(0750,zookeeper,zookeeper) %dir %{_sharedstatedir}/zookeeper
+%attr(0755,root,root) %dir %{_sharedstatedir}/zookeeper
 %attr(0750,zookeeper,zookeeper) %dir %{_sharedstatedir}/zookeeper/data
 %attr(0640,zookeeper,zookeeper) %ghost %{_sharedstatedir}/zookeeper/data/myid
 %attr(0750,zookeeper,zookeeper) %dir %{_sharedstatedir}/zookeeper/log
 %{_unitdir}/zookeeper.service
 
 %changelog
-* Tue Jun 15 2013 Timothy St. Clair <tstclair at redhat.com> - 3.4.5-8
+* Mon Jun 22 2013 Timothy St. Clair <tstclair at redhat.com> - 3.4.5-9
+- revert old sematics %defattr and update permissions
+
+* Mon Jun 22 2013 Timothy St. Clair <tstclair at redhat.com> - 3.4.5-8
 - cleanup file ownership properties.
 
 * Tue Jun 15 2013 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.4.5-7


More information about the scm-commits mailing list