[rubygem-daemons] Update to daemons 1.1.9.

Vít Ondruch vondruch at fedoraproject.org
Wed Feb 27 13:20:48 UTC 2013


commit 35e6c670592e7ebf1f07d234f900ff05f1f23ee0
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Feb 27 14:20:26 2013 +0100

    Update to daemons 1.1.9.

 rubygem-daemons.spec |   37 +++++++++++++++++++++++--------------
 1 files changed, 23 insertions(+), 14 deletions(-)
---
diff --git a/rubygem-daemons.spec b/rubygem-daemons.spec
index 58c99f9..227b86f 100644
--- a/rubygem-daemons.spec
+++ b/rubygem-daemons.spec
@@ -3,14 +3,13 @@
 
 Summary: A toolkit to create and control daemons in different ways
 Name: rubygem-%{gem_name}
-Version: 1.0.10
-Release: 8%{?dist}
+Version: 1.1.9
+Release: 1%{?dist}
 Group: Development/Languages
 # The entire source code is MIT except daemonize.rb (GPLv2+ or Ruby)
 License: MIT and (GPLv2+ or Ruby)
 URL: http://daemons.rubyforge.org
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ruby(rubygems)
 Requires: ruby(release)
 BuildRequires: rubygems-devel
@@ -26,38 +25,48 @@ basic functionality, daemons offers many advanced features like exception
 backtracing and logging (in case your ruby script crashes) and monitoring and
 automatic restarting of your processes if they crash.
 
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+
 
 %prep
+%setup -q -c  -T
+%gem_install -n %{SOURCE0}
 
 %build
 
 %install
-%{__rm} -rf %{buildroot}
 mkdir -p %{buildroot}%{gem_dir}
-%gem_install -n %{SOURCE0}
-chmod a+x %{buildroot}%{gem_instdir}/examples/run/myserver.rb
-
-%clean
-%{__rm} -rf %{buildroot}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
 
 %files
-%defattr(-, root, root)
 %dir %{gem_instdir}
-%doc %{gem_docdir}
 %{gem_instdir}/examples/
 %{gem_libdir}/
 %{gem_instdir}/Rakefile
 %{gem_instdir}/setup.rb
 %doc %{gem_instdir}/LICENSE
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
 %doc %{gem_instdir}/README
 %doc %{gem_instdir}/Releases
 %doc %{gem_instdir}/TODO
-%{gem_cache}
-%{gem_spec}
 
 %changelog
-* Wed Feb 27 2013 Vít Ondruch <vondruch at redhat.com> - 1.0.10-8
+* Wed Feb 27 2013 Vít Ondruch <vondruch at redhat.com> - 1.1.9-1
 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+- Update to daemons 1.1.9.
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.10-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild


More information about the scm-commits mailing list