Hello community, here is the log from the commit of package rubygem-rdoc-3 for openSUSE:Factory checked in at 2014-10-20 07:27:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rdoc-3 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rdoc-3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rdoc-3" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rdoc-3/rubygem-rdoc-3.changes 2014-03-23 22:34:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rdoc-3.new/rubygem-rdoc-3.changes 2014-10-20 07:27:06.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 29 14:22:15 UTC 2014 - mrueck...@suse.de + +- convert to new packaging scheme + +------------------------------------------------------------------- New: ---- gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rdoc-3.spec ++++++ --- /var/tmp/diff_new_pack.D56xH9/_old 2014-10-20 07:27:07.000000000 +0200 +++ /var/tmp/diff_new_pack.D56xH9/_new 2014-10-20 07:27:07.000000000 +0200 @@ -16,23 +16,27 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-rdoc-3 Version: 3.12.2 Release: 0 %define mod_name rdoc %define mod_full_name %{mod_name}-%{version} -%define mod_branch -%{version} -%define mod_weight 31202 - +%define mod_version_suffix -3 BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 3 -Requires: ruby >= 1.8.7 -BuildRequires: ruby >= 1.8.7 +BuildRequires: %{ruby >= 1.8.7} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -# MANUAL avoid bootstrap problems -#BuildRequires: rubygem(rdoc) > 3.10 Url: http://docs.seattlerb.org/rdoc Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: RDoc produces HTML and command-line documentation for Ruby projects License: Ruby Group: Development/Languages/Ruby @@ -44,81 +48,17 @@ documentation. See RDoc for a description of RDoc's markup and basic use. -%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 -f -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -mv %{buildroot}%{_bindir}/rdoc{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rdoc -ln -s %{_sysconfdir}/alternatives/rdoc %{buildroot}%{_bindir}/rdoc - -mv %{buildroot}%{_bindir}/ri{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/ri -ln -s %{_sysconfdir}/alternatives/ri %{buildroot}%{_bindir}/ri - -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc %buildroot/%{_docdir}/%{name}/History.rdoc -ln -s %{gem_base}/gems/%{mod_full_name}/LEGAL.rdoc %buildroot/%{_docdir}/%{name}/LEGAL.rdoc -ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE.rdoc %buildroot/%{_docdir}/%{name}/LICENSE.rdoc -ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc - -%post -/usr/sbin/update-alternatives --install \ - %{_bindir}/rdoc rdoc %{_bindir}/rdoc%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/ri ri %{_bindir}/ri%{mod_branch} %{mod_weight} - -%preun -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rdoc %{_bindir}/rdoc%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove ri %{_bindir}/ri%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{_bindir}/rdoc%{mod_branch} -%{_bindir}/rdoc -%ghost %{_sysconfdir}/alternatives/rdoc -%{_bindir}/ri%{mod_branch} -%{_bindir}/ri -%ghost %{_sysconfdir}/alternatives/ri -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%exclude %{gem_base}/gems/%{mod_full_name}/test -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc - -%files testsuite -%defattr(-,root,root,-) -%{gem_base}/gems/%{mod_full_name}/test +%gem_install \ + --no-rdoc --no-ri \ + --symlink-binaries \ + --doc-files="History.rdoc LEGAL.rdoc LICENSE.rdoc README.rdoc" \ + -f + +%gem_packages %changelog ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm # :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{gem_base}/gems/%{mod_fullname} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # --- :version_suffix: '-3' :disable_automatic_rdoc_dep: true :disable_docs: true # :pre_install: |- # %if 0%{needs_internal_rdoc} # %gem_unpack # export RUBYLIB="%{mod_full_name}/lib/" # %endif # :preamble: |- # %if 0%{?suse_version} && 0%{?suse_version} < 1220 # %define needs_internal_rdoc 1 # %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org