Hello community, here is the log from the commit of package rubygem-gettext for openSUSE:Factory checked in at 2014-10-14 07:11:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-gettext (Old) and /work/SRC/openSUSE:Factory/.rubygem-gettext.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-gettext" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-gettext/rubygem-gettext.changes 2014-05-21 16:27:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gettext.new/rubygem-gettext.changes 2014-10-14 07:11:50.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Oct 12 11:09:38 UTC 2014 - adrian@suse.de + +- adapt to new rubygem packaging style + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-gettext.spec ++++++ --- /var/tmp/diff_new_pack.nBiZtv/_old 2014-10-14 07:11:51.000000000 +0200 +++ /var/tmp/diff_new_pack.nBiZtv/_new 2014-10-14 07:11:51.000000000 +0200 @@ -25,7 +25,7 @@ %define mod_weight 30102 BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 3 +BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url: http://ruby-gettext.github.com/ Source: http://rubygems.org/gems/%{mod_full_name}.gem @@ -39,114 +39,17 @@ The catalog file(po-file) is same format with GNU gettext. So you can use GNU gettext tools for maintaining. -%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}/rmsginit{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rmsginit -ln -s %{_sysconfdir}/alternatives/rmsginit %{buildroot}%{_bindir}/rmsginit - -mv %{buildroot}%{_bindir}/rmsgcat{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rmsgcat -ln -s %{_sysconfdir}/alternatives/rmsgcat %{buildroot}%{_bindir}/rmsgcat - -mv %{buildroot}%{_bindir}/rmsgfmt{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rmsgfmt -ln -s %{_sysconfdir}/alternatives/rmsgfmt %{buildroot}%{_bindir}/rmsgfmt - -mv %{buildroot}%{_bindir}/rmsgmerge{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rmsgmerge -ln -s %{_sysconfdir}/alternatives/rmsgmerge %{buildroot}%{_bindir}/rmsgmerge - -mv %{buildroot}%{_bindir}/rxgettext{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/rxgettext -ln -s %{_sysconfdir}/alternatives/rxgettext %{buildroot}%{_bindir}/rxgettext - -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc - -%post -/usr/sbin/update-alternatives --install \ - %{_bindir}/rmsginit rmsginit %{_bindir}/rmsginit%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/rmsgcat rmsgcat %{_bindir}/rmsgcat%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/rmsgfmt rmsgfmt %{_bindir}/rmsgfmt%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/rmsgmerge rmsgmerge %{_bindir}/rmsgmerge%{mod_branch} %{mod_weight} -/usr/sbin/update-alternatives --install \ - %{_bindir}/rxgettext rxgettext %{_bindir}/rxgettext%{mod_branch} %{mod_weight} - -%preun -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rmsginit %{_bindir}/rmsginit%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rmsgcat %{_bindir}/rmsgcat%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rmsgfmt %{_bindir}/rmsgfmt%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rmsgmerge %{_bindir}/rmsgmerge%{mod_branch} -fi -if [ "$1" = 0 ] ; then - /usr/sbin/update-alternatives --remove rxgettext %{_bindir}/rxgettext%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{_bindir}/rmsginit%{mod_branch} -%{_bindir}/rmsginit -%ghost %{_sysconfdir}/alternatives/rmsginit -%{_bindir}/rmsgcat%{mod_branch} -%{_bindir}/rmsgcat -%ghost %{_sysconfdir}/alternatives/rmsgcat -%{_bindir}/rmsgfmt%{mod_branch} -%{_bindir}/rmsgfmt -%ghost %{_sysconfdir}/alternatives/rmsgfmt -%{_bindir}/rmsgmerge%{mod_branch} -%{_bindir}/rmsgmerge -%ghost %{_sysconfdir}/alternatives/rmsgmerge -%{_bindir}/rxgettext%{mod_branch} -%{_bindir}/rxgettext -%ghost %{_sysconfdir}/alternatives/rxgettext -%{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 \ + --symlink-binaries \ + --doc-files="README.rdoc" \ + -f + +%gem_packages %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org