Compare commits

...

3 Commits
master ... f19

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
1 changed files with 12 additions and 16 deletions

View File

@ -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,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
%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,-)
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/%{name}.jar
%{_javadir}/%{name}/%{name}-test.jar
%{_javadir}/%{name}/%{name}-ZooInspector.jar
@ -348,32 +344,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@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.
* Tue Jun 15 2013 Jeffrey C. Ollie <jeff@ocjtech.us> - 3.4.5-7