From d79c6a51c55cb7c212cf32c8b61d0e7a160dc1cf Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Oct 05 2012 20:39:48 +0000 Subject: Update gofer to 0.74-1 --- diff --git a/.gitignore b/.gitignore index bbc5ed7..ea7a325 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /gofer-0.60.tar.gz /gofer-0.64.tar.gz /gofer-0.66.tar.gz +/gofer-0.74.tar.gz diff --git a/gofer.spec b/gofer.spec index 33d4aab..8f4d431 100644 --- a/gofer.spec +++ b/gofer.spec @@ -2,8 +2,8 @@ %{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} Name: gofer -Version: 0.66 -Release: 2%{?dist} +Version: 0.74 +Release: 1%{?dist} Summary: A lightweight, extensible python agent Group: Development/Languages License: LGPLv2 @@ -11,6 +11,7 @@ URL: https://fedorahosted.org/gofer/ Source0: https://fedorahosted.org/releases/g/o/gofer/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: gzip BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: rpm-python @@ -32,6 +33,9 @@ executed at the specified interval. pushd src %{__python} setup.py build popd +pushd docs/man/man1 +gzip * +popd %install rm -rf %{buildroot} @@ -60,13 +64,16 @@ mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/conf.d mkdir -p %{buildroot}/%{_sysconfdir}/init.d mkdir -p %{buildroot}/%{_var}/log/%{name} mkdir -p %{buildroot}/%{_var}/lib/%{name}/journal/watchdog -mkdir -p %{buildroot}/%{_libdir}/%{name}/plugins +mkdir -p %{buildroot}/%{_usr}/lib/%{name}/plugins +mkdir -p %{buildroot}/%{_usr}/share/%{name}/plugins +mkdir -p %{buildroot}/%{_mandir}/man1 cp bin/%{name}d %{buildroot}/usr/bin cp etc/init.d/%{name}d %{buildroot}/%{_sysconfdir}/init.d cp etc/%{name}/*.conf %{buildroot}/%{_sysconfdir}/%{name} cp etc/%{name}/plugins/*.conf %{buildroot}/%{_sysconfdir}/%{name}/plugins -cp src/plugins/*.py %{buildroot}/%{_libdir}/%{name}/plugins +cp src/plugins/*.py %{buildroot}/%{_usr}/share/%{name}/plugins +cp docs/man/man1/* %{buildroot}/%{_mandir}/man1 rm -rf %{buildroot}/%{python_sitelib}/%{name}*.egg-info @@ -75,19 +82,22 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) +%dir %{_sysconfdir}/%{name}/ +%dir %{_usr}/lib/%{name}/plugins/ +%dir %{_usr}/share/%{name}/plugins/ %dir %{_sysconfdir}/%{name}/conf.d/ +%dir %{_var}/log/%{name}/ %{python_sitelib}/%{name}/agent/ %{_bindir}/%{name}d %attr(755,root,root) %{_sysconfdir}/init.d/%{name}d %config(noreplace) %{_sysconfdir}/%{name}/agent.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/builtin.conf -%{_libdir}/%{name}/plugins/builtin.* -%{_var}/log/%{name} +%{_usr}/share/%{name}/plugins/builtin.* %doc LICENSE +%doc %{_mandir}/man1/gofer* %post chkconfig --add %{name}d -setfacl -m other::--- %{_var}/log/%{name} %preun if [ $1 = 0 ] ; then @@ -122,13 +132,8 @@ Contains gofer python lib modules. %{python_sitelib}/%{name}/*.py* %{python_sitelib}/%{name}/rmi/ %{python_sitelib}/%{name}/messaging/ -%{_var}/lib/%{name}/journal/watchdog %doc LICENSE -%post -n python-%{name} -setfacl -m other::rwx %{_var}/lib/%{name}/journal/watchdog - - ############################################################################### # ruby lib ############################################################################### @@ -137,9 +142,9 @@ setfacl -m other::rwx %{_var}/lib/%{name}/journal/watchdog Summary: Gofer ruby lib modules Group: Development/Languages BuildRequires: ruby -Requires: ruby-qpid Requires: rubygems Requires: rubygem(json) +Requires: rubygem(qpid) >= 0.16.0 %description -n ruby-%{name} Contains gofer ruby lib modules. @@ -170,7 +175,7 @@ The system plug-in provides system functionality. %files -n gofer-system %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/system.conf -%{_libdir}/%{name}/plugins/system.* +%{_usr}/share/%{name}/plugins/system.* %doc LICENSE @@ -192,7 +197,8 @@ for asynchronous RMI calls. %files -n gofer-watchdog %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/watchdog.conf -%{_libdir}/%{name}/plugins/watchdog.* +%{_usr}/share/%{name}/plugins/watchdog.* +%{_var}/lib/%{name}/journal/watchdog %doc LICENSE @@ -214,7 +220,7 @@ This plug-in provides RMI access to libvirt functionality. %files -n gofer-virt %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/virt.conf -%{_libdir}/%{name}/plugins/virt.* +%{_usr}/share/%{name}/plugins/virt.* %doc LICENSE @@ -236,14 +242,66 @@ This plug-in provides RMI access to package (RPM) management. %files -n gofer-package %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/package.conf -%{_libdir}/%{name}/plugins/package.* +%{_usr}/share/%{name}/plugins/package.* %doc LICENSE %changelog -* Thu Jul 19 2012 Fedora Release Engineering - 0.66-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild +* Wed Oct 03 2012 Jeff Ortel 0.74-1 +- Make watchdog journal object configurable; watchdog singleton by URL only. + (jortel@redhat.com) + +* Thu Sep 13 2012 Jeff Ortel 0.73-1 +- Progress reporting enhancements. (jortel@redhat.com) +- Add for debugging w/o running as root. (jortel@redhat.com) +* Mon Aug 20 2012 Jeff Ortel 0.72-1 +- Add unit tests: watchdog test. (jortel@redhat.com) +- Add man page for goferd. (jortel@redhat.com) +- Replace BlackList with python set. (jortel@redhat.com) +- Add progress reporting; watchdog enhancements. (jortel@redhat.com) +- remove f15 and add f18 to tito releaser. (jortel@redhat.com) + +* Tue Jul 31 2012 Jeff Ortel 0.71-1 +- Port ruby-gofer to rubygem-qpid. (jortel@redhat.com) +- Make /usr/share/gofer/plugins the primary plugin location. Based on fedora + packaging guidelines referencing FHS standards. (jortel@redhat.com) +- Discontinue {_libdir} macro for plugins. (jortel@redhat.com) +* Tue Jun 12 2012 Jeff Ortel 0.70-1 +- Refit mocks for reparent of Envelope & Options to (object). + (jortel@redhat.com) + +* Fri Jun 08 2012 Jeff Ortel 0.69-1 +- 829767 - fix simplejons 2.2+ issue (fedora 17). Envelope/Options rebased on + object rather than dict. (jortel@redhat.com) +- Add whiteboard. (jortel@redhat.com) +- Fixed 'Undefined variable (s) in XBindings.__bindings(). (jortel@redhat.com) + +* Thu Apr 26 2012 Jeff Ortel 0.68-1 +- Refit watchdog plugin; set journal location; skip directories in journal dir. + (jortel@redhat.com) +- Make the watchdog journal directory configurable. (jortel@redhat.com) +- Add Broker.touch() and rename Topic.binding(). (jortel@redhat.com) +- Better support for durable topic subscription. Queue bindings to specified + exchanges. (jortel@redhat.com) +* Fri Mar 16 2012 Jeff Ortel 0.67-1 +- Add (trace) attribute to propagated exceptions. (jortel@redhat.com) +- Add traceback info to propagated exceptions as: Exception.trace. + (jortel@redhat.com) +- Add support for __getitem__ in container and stub. (jortel@redhat.com) +- Refactor to crypto (delegate) interface. (jortel@redhat.com) +- Support multiple security decorators. (jortel@redhat.com) +- perf: asynchronous ack(); tcp_nodelay. (jortel@redhat.com) +- Rename 'delayed/trigger' policy property to match option. (jortel@redhat.com) +- Rename 'delayed' option to: 'trigger'. (jortel@redhat.com) +- option 'delayed' implies asynchronous RMI. (jortel@redhat.com) +- fix for tito compat. (jortel@redhat.com) +- bridge: clean debug prints; make gateway a thread. (jortel@redhat.com) +- Add tcp bridge (experimental). (jortel@redhat.com) +- Add support for delayed trigger asynchronous RMI. (jortel@redhat.com) +- Add fedora releaser. (jortel@redhat.com) +- support setting producer uuid; HMAC enhancements. (jortel@redhat.com) +- rel-eng: rename redhat releaser. (jortel@redhat.com) * Tue Feb 21 2012 Jeff Ortel 0.66-1 - Add DistGit releaser. (jortel@redhat.com) diff --git a/sources b/sources index a0e17fe..a595b29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -373d6c6475c4336fe87d5965aa09a543 gofer-0.66.tar.gz +07faa9e3c75cd72614883248d8cd28ed gofer-0.74.tar.gz