Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

3 commits

Author SHA1 Message Date
Timothy St. Clair
44ec557dc2 Remove macro from spec 2013-07-22 11:20:20 -05:00
Timothy St. Clair
e850618c0e Update directory for java packaging 2013-07-22 11:17:17 -05:00
Timothy St. Clair
7a8d2ee517 revert old sematic and update permissions 2013-07-22 11:02:38 -05:00

View file

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