commit rubygem-flog for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-flog for openSUSE:Factory checked in at 2012-09-01 10:33:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old) and /work/SRC/openSUSE:Factory/.rubygem-flog.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-flog", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes 2012-07-23 10:32:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes 2012-09-01 10:33:47.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 10 15:25:46 UTC 2012 - coolo@suse.com + +- update to the latest gem2rpm template + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-flog.spec ++++++ --- /var/tmp/diff_new_pack.XJqJWV/_old 2012-09-01 10:33:48.000000000 +0200 +++ /var/tmp/diff_new_pack.XJqJWV/_new 2012-09-01 10:33:48.000000000 +0200 @@ -20,21 +20,13 @@ Version: 2.5.3 Release: 0 %define mod_name flog -# -# +%define mod_full_name %{mod_name}-%{version} + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -%rubygems_requires -# sexp_processor ~> 3.0 -BuildRequires: rubygem-sexp_processor-3 >= 3.0 -Requires: rubygem-sexp_processor-3 >= 3.0 -# ruby_parser ~> 2.0 -BuildRequires: rubygem-ruby_parser-2 >= 2.0 -Requires: rubygem-ruby_parser-2 >= 2.0 -# +BuildRequires: ruby-macros >= 1 +BuildRequires: rubygem(rdoc) > 3.10 Url: http://ruby.sadi.st/ -Source: %{mod_name}-%{version}.gem -# +Source: %{mod_full_name}.gem Summary: Flog reports the most tortured code in an easy to read pain report License: MIT Group: Development/Languages/Ruby @@ -43,21 +35,47 @@ Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in. +%package doc +Summary: RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} + +%description doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + +%package testsuite +Summary: Test suite for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} + +%description testsuite +Test::Unit or RSpec files, useful for developers. + %prep +#gem_unpack +#if you need patches, apply them here and replace the # with a % sign in the surrounding lines +#gem_build + %build -%install -%gem_install %{S:0} -sed -i 's,/usr/local/bin/ruby,/usr/bin/ruby,g' %{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/bin/flog -%clean -%{__rm} -rf %{buildroot} +%install +%gem_install -f %files %defattr(-,root,root,-) %{_bindir}/flog -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ +%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test +%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec + +%files doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ + +%files testsuite +%defattr(-,root,root,-) +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de