commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2020-10-08 13:08:25 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4249 (New) Package is "rubygem-gem2rpm" Thu Oct 8 13:08:25 2020 rev:28 rq:839453 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2019-07-02 10:49:34.323611142 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4249/rubygem-gem2rpm.changes 2020-10-08 13:09:37.207033148 +0200 @@ -1,0 +2,5 @@ +Mon Sep 28 00:25:24 UTC 2020 - Marcus Rueckert + +- added support for 3.0.0 + +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.ZfrHWH/_old 2020-10-08 13:09:38.383034213 +0200 +++ /var/tmp/diff_new_pack.ZfrHWH/_new 2020-10-08 13:09:38.387034216 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,7 @@ %bcond_with ruby25 %bcond_with ruby26 %bcond_with ruby27 +%bcond_with ruby30 %bcond_with rubinius25 Name: rubygem-gem2rpm @@ -733,6 +734,65 @@ %endif %endif +%if %{with ruby30} +%package -n ruby3.0-rubygem-gem2rpm +Summary:Generate rpm specfiles from gems +Group: Development/Languages/Ruby +Requires(post): update-alternatives +Requires(preun): update-alternatives + +%description -n ruby3.0-rubygem-gem2rpm +Generate source rpms and rpm spec files from a Ruby Gem. +The spec file tries to follow the gem as closely as possible + +%package -n ruby3.0-rubygem-gem2rpm-doc +Summary:RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: ruby3.0-rubygem-gem2rpm = %{version} + +%description -n ruby3.0-rubygem-gem2rpm-doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + + +%post -n ruby3.0-rubygem-gem2rpm +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm-%{version} gem2rpm-%{version} %{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm.ruby3.0 gem2rpm.ruby3.0 %{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight} + +%preun -n ruby3.0-rubygem-gem2rpm +if [ "$1" = 0 ] ; then +/usr/sbin/update-alternatives --remove gem2rpm %{_bindir}/gem2rpm.ruby3.0-%{version} +/usr/sbin/update-alternatives --remove gem2rpm-%{version} %{_bindir}/gem2rpm.ruby3.0-%{version} +/usr/sbin/update-alternatives --remove gem2rpm.ruby3.0 %{_bindir}/gem2rpm.ruby3.0-%{version} +fi + +%files -n ruby3.0-rubygem-gem2rpm +%defattr(-,root,root,-) +%{_docdir}/ruby3.0-rubygem-gem2rpm +#{_bindir}/gem2rpm-opensuse +%{_bindir}/gem2rpm.ruby3.0-%{version} +%ghost %{_bindir}/gem2rpm.ruby3.0 +%ghost %{_bindir}/gem2rpm-%{version} +%ghost %{_bindir}/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm.ruby3.0 +%ghost %{_sysconfdir}/alternatives/gem2rpm-%{version} +# cache file +%{_libdir}/ruby/gems/3.0.0/cache/gem2rpm-%{version}.gem +%{_libdir}/ruby/gems/3.0.0/gems/gem2rpm-%{version} +%{_libdir}/ruby/gems/3.0.0/specifications/gem2rpm-%{version}.gemspec + +%if %{with docs} +%files -n ruby3.0-rubygem-gem2rpm-doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/3.0.0/doc/gem2rpm-%{version} +%endif +%endif + %if %{with rubinius25} %package -n rbx2.5-rubygem-gem2rpm # MANUAL
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2019-07-02 10:49:33 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4615 (New) Package is "rubygem-gem2rpm" Tue Jul 2 10:49:33 2019 rev:27 rq:712555 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2019-02-28 21:24:42.861906797 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4615/rubygem-gem2rpm.changes 2019-07-02 10:49:34.323611142 +0200 @@ -1,0 +2,10 @@ +Sun Jun 23 02:24:56 UTC 2019 - Marcus Rueckert + +- build without gem docs + +--- +Sun Jun 23 02:12:56 UTC 2019 - Marcus Rueckert + +- added support for 2.7.0 + +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.BlabwV/_old 2019-07-02 10:49:35.075612303 +0200 +++ /var/tmp/diff_new_pack.BlabwV/_new 2019-07-02 10:49:35.079612309 +0200 @@ -17,9 +17,11 @@ %bcond_without gem2rpm_bootstrap +%if 0%{?suse_version} && 0%{?suse_version} < 1315 %bcond_with ruby18 %bcond_with ruby19 %bcond_with ruby20 +%endif %bcond_with ruby21 %if ! (0%{?suse_version} == 1315) %bcond_with ruby22 @@ -28,6 +30,7 @@ %endif %bcond_with ruby25 %bcond_with ruby26 +%bcond_with ruby27 %bcond_with rubinius25 Name: rubygem-gem2rpm @@ -37,8 +40,6 @@ %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} %define mod_weight 1001 -#define rb_build_versions %{rb_default_ruby} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 %if %{with gem2rpm_bootstrap} @@ -136,7 +137,7 @@ %gem_build %install -%gem_install -f --symlink-binaries --doc-files="AUTHORS LICENSE README" +%gem_install -f --no-rdoc --no-ri --symlink-binaries --doc-files="AUTHORS LICENSE README" for i in %{buildroot}%{_docdir}/*rubygem-gem2rpm*/ ; do install -m 0644 %{S:1} $i/gem2rpm.yml done @@ -194,10 +195,12 @@ %{_libdir}/ruby/gems/2.1.0/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/2.1.0/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby2.1-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.1.0/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby18} %package -n ruby1.8-rubygem-gem2rpm @@ -251,10 +254,12 @@ %{_libdir}/ruby/gems/1.8/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/1.8/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby1.8-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/1.8/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby19} %package -n ruby1.9-rubygem-gem2rpm @@ -308,10 +313,12 @@ %{_libdir}/ruby/gems/1.9.1/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/1.9.1/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby1.9-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/1.9.1/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby20} %package -n ruby2.0-rubygem-gem2rpm @@ -365,10 +372,12 @@ %{_libdir}/ruby/gems/2.0.0/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/2.0.0/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby2.0-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.0.0/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby22} %package -n ruby2.2-rubygem-gem2rpm @@ -422,10 +431,12 @@ %{_libdir}/ruby/gems/2.2.0/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/2.2.0/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby2.2-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.2.0/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby23} %package -n ruby2.3-rubygem-gem2rpm @@ -479,10 +490,12 @@ %{_libdir}/ruby/gems/2.3.0/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/2.3.0/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby2.3-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.3.0/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby24} %package -n ruby2.4-rubygem-gem2rpm @@ -536,10 +549,12 @@ %{_libdir}/ruby/gems/2.4.0/gems/gem2rpm-%{version} %{_libdir}/ruby/gems/2.4.0/specifications/gem2rpm-%{version}.gemspec +%if %{with docs} %files -n ruby2.4-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.4.0/doc/gem2rpm-%{version} %endif +%endif %if %{with ruby25} %package -n ruby2.5-rubygem-gem2rpm @@ -593,10 +608,12 @@
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2019-02-28 21:24:40 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.28833 (New) Package is "rubygem-gem2rpm" Thu Feb 28 21:24:40 2019 rev:26 rq:678367 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2019-02-08 12:02:25.221725079 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.28833/rubygem-gem2rpm.changes 2019-02-28 21:24:42.861906797 +0100 @@ -1,0 +2,22 @@ +Sat Feb 23 06:54:36 UTC 2019 - Stephan Kulow + +- Update from git. Add: +A0027-quote-version_suffix-in-gem2rpm.yml.documentation-to.patch +A0028-add-binary_map-support.patch +A0029-Use-or-for-the-conditions-instead-of-and.patch +A0030-gem_package.spec.erb-sync-with-ruby-common.patch +A0031-use-template-opensuse-on-openSUSE-Tumbleweed-where-e.patch +A0032-Replace-no-rdoc-no-ri-with-no-document.patch + +And refresh all others + +Remove: +Dbinary_map.patch +Denhances.patch + +--- +Mon Feb 4 19:57:20 UTC 2019 - Jan Engelhardt + +- Use less strict PreReq replacements. + +--- @@ -607 +628,0 @@ - Old: binary_map.patch enhances.patch New: 0027-quote-version_suffix-in-gem2rpm.yml.documentation-to.patch 0028-add-binary_map-support.patch 0029-Use-or-for-the-conditions-instead-of-and.patch 0030-gem_package.spec.erb-sync-with-ruby-common.patch 0031-use-template-opensuse-on-openSUSE-Tumbleweed-where-e.patch 0032-Replace-no-rdoc-no-ri-with-no-document.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.m7XRWO/_old 2019-02-28 21:24:44.769906159 +0100 +++ /var/tmp/diff_new_pack.m7XRWO/_new 2019-02-28 21:24:44.769906159 +0100 @@ -47,7 +47,7 @@ BuildRequires: %{rubygem gem2rpm} %endif BuildRequires: update-alternatives -Url:https://github.com/lutter/gem2rpm/ +URL:https://github.com/lutter/gem2rpm/ Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml.documentation Source2:gem2rpm-opensuse @@ -78,13 +78,18 @@ Patch24:0024-add-ability-to-provide-alternative-main-Source.patch Patch25:0025-allow-running-commands-after-patching.patch Patch26:0026-use-https-instead-of-http-for-rubygems.org.patch -Patch27:binary_map.patch -Patch28:template_loader.patch -Patch29:enhances.patch +Patch27:0027-quote-version_suffix-in-gem2rpm.yml.documentation-to.patch +Patch28:0028-add-binary_map-support.patch +Patch29:0029-Use-or-for-the-conditions-instead-of-and.patch +Patch30:0030-gem_package.spec.erb-sync-with-ruby-common.patch +Patch31:0031-use-template-opensuse-on-openSUSE-Tumbleweed-where-e.patch +Patch32:0032-Replace-no-rdoc-no-ri-with-no-document.patch +Patch128: template_loader.patch Summary:Generate rpm specfiles from gems License:GPL-2.0-or-later Group: Development/Languages/Ruby -PreReq: update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives %description Generate source rpms and rpm spec files from a Ruby Gem. @@ -120,7 +125,11 @@ %patch26 -p1 %patch27 -p1 %patch28 -p1 -#patch29 -p1 +%patch29 -p1 +%patch30 -p1 +%patch31 -p1 +%patch32 -p1 +%patch128 -p1 %build perl -p -i -e 's|("templates/opensuse.spec.erb".freeze)|$1, "templates/gem_packages.spec.erb".freeze|g' *gemspec @@ -137,7 +146,8 @@ %package -n ruby2.1-rubygem-gem2rpm Summary:Generate rpm specfiles from gems Group: Development/Languages/Ruby -PreReq: update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives %description -n ruby2.1-rubygem-gem2rpm Generate source rpms and rpm spec files from a Ruby Gem. @@ -193,7 +203,8 @@ %package -n ruby1.8-rubygem-gem2rpm Summary:Generate rpm specfiles from gems Group: Development/Languages/Ruby -PreReq: update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives %description -n ruby1.8-rubygem-gem2rpm Generate source rpms and rpm spec files from a Ruby Gem. @@ -249,7 +260,8 @@ %package -n ruby1.9-rubygem-gem2rpm Summary:Generate rpm specfiles from gems Group: Development/Languages/Ruby -PreReq: update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives %description -n ruby1.9-rubygem-gem2rpm Generate source
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2019-02-08 12:02:12 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.28833 (New) Package is "rubygem-gem2rpm" Fri Feb 8 12:02:12 2019 rev:25 rq:671139 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2017-11-19 11:07:04.092844970 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.28833/rubygem-gem2rpm.changes 2019-02-08 12:02:25.221725079 +0100 @@ -1,0 +2,23 @@ +Fri Jan 18 15:32:43 UTC 2019 - Marcus Rueckert + +- [42.3/sle12] disable ruby 2.3 and 2.4 so we can enable 2.6 + +--- +Fri Jun 29 14:00:54 UTC 2018 - mrueck...@suse.de + +- add ruby 2.6 support + +--- +Fri Jun 15 17:19:13 UTC 2018 - mrueck...@suse.de + +- enhances.patch is a WIP but we add it to the filelist for the + source validator + +--- +Wed Jun 6 15:17:48 UTC 2018 - mrueck...@suse.de + +- added binary_map.patch: + add way to avoid conflicts with non rubygems packages in /usr/bin +- added template_loader.patch (boo#1092585) + +--- New: binary_map.patch enhances.patch template_loader.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.KoiDo4/_old 2019-02-08 12:02:26.625724438 +0100 +++ /var/tmp/diff_new_pack.KoiDo4/_new 2019-02-08 12:02:26.633724434 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,10 +23,11 @@ %bcond_with ruby21 %if ! (0%{?suse_version} == 1315) %bcond_with ruby22 -%endif %bcond_with ruby23 %bcond_with ruby24 +%endif %bcond_with ruby25 +%bcond_with ruby26 %bcond_with rubinius25 Name: rubygem-gem2rpm @@ -77,9 +78,11 @@ Patch24:0024-add-ability-to-provide-alternative-main-Source.patch Patch25:0025-allow-running-commands-after-patching.patch Patch26:0026-use-https-instead-of-http-for-rubygems.org.patch -# Patch27:enhances.patch +Patch27:binary_map.patch +Patch28:template_loader.patch +Patch29:enhances.patch Summary:Generate rpm specfiles from gems -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Languages/Ruby PreReq: update-alternatives @@ -115,8 +118,12 @@ %patch24 -p1 %patch25 -p1 %patch26 -p1 -#patch27 -p1 +%patch27 -p1 +%patch28 -p1 +#patch29 -p1 + %build +perl -p -i -e 's|("templates/opensuse.spec.erb".freeze)|$1, "templates/gem_packages.spec.erb".freeze|g' *gemspec %gem_build %install @@ -574,6 +581,62 @@ %doc %{_libdir}/ruby/gems/2.5.0/doc/gem2rpm-%{version} %endif +%if %{with ruby26} +%package -n ruby2.6-rubygem-gem2rpm +Summary:Generate rpm specfiles from gems +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description -n ruby2.6-rubygem-gem2rpm +Generate source rpms and rpm spec files from a Ruby Gem. +The spec file tries to follow the gem as closely as possible + +%package -n ruby2.6-rubygem-gem2rpm-doc +Summary:RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: ruby2.6-rubygem-gem2rpm = %{version} + +%description -n ruby2.6-rubygem-gem2rpm-doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + + +%post -n ruby2.6-rubygem-gem2rpm +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm.ruby2.6-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm-%{version} gem2rpm-%{version} %{_bindir}/gem2rpm.ruby2.6-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm.ruby2.6 gem2rpm.ruby2.6 %{_bindir}/gem2rpm.ruby2.6-%{version} %{mod_weight} + +%preun -n ruby2.6-rubygem-gem2rpm +if [ "$1" = 0 ] ; then +
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2017-11-19 11:07:03 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Sun Nov 19 11:07:03 2017 rev:24 rq:542106 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2017-09-15 21:02:30.793764878 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2017-11-19 11:07:04.092844970 +0100 @@ -1,0 +2,5 @@ +Wed Nov 8 18:07:59 UTC 2017 - mrueck...@suse.de + +- disable 2.2 on suse_version 1315 + +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.fWnaEl/_old 2017-11-19 11:07:05.448795527 +0100 +++ /var/tmp/diff_new_pack.fWnaEl/_new 2017-11-19 11:07:05.452795382 +0100 @@ -21,7 +21,9 @@ %bcond_with ruby19 %bcond_with ruby20 %bcond_with ruby21 +%if ! (0%{?suse_version} == 1315) %bcond_with ruby22 +%endif %bcond_with ruby23 %bcond_with ruby24 %bcond_with ruby25
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2017-09-15 21:02:28 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Fri Sep 15 21:02:28 2017 rev:23 rq:523220 version:0.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2016-11-20 18:17:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2017-09-15 21:02:30.793764878 +0200 @@ -1,0 +2,5 @@ +Wed Aug 9 10:09:18 UTC 2017 - mrueck...@suse.de + +- add ruby 2.5 support + +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.nGcODz/_old 2017-09-15 21:02:32.137576243 +0200 +++ /var/tmp/diff_new_pack.nGcODz/_new 2017-09-15 21:02:32.149574558 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ %bcond_with ruby22 %bcond_with ruby23 %bcond_with ruby24 +%bcond_with ruby25 %bcond_with rubinius25 Name: rubygem-gem2rpm @@ -74,6 +75,7 @@ Patch24:0024-add-ability-to-provide-alternative-main-Source.patch Patch25:0025-allow-running-commands-after-patching.patch Patch26:0026-use-https-instead-of-http-for-rubygems.org.patch +# Patch27:enhances.patch Summary:Generate rpm specfiles from gems License:GPL-2.0+ Group: Development/Languages/Ruby @@ -111,6 +113,7 @@ %patch24 -p1 %patch25 -p1 %patch26 -p1 +#patch27 -p1 %build %gem_build @@ -513,6 +516,62 @@ %doc %{_libdir}/ruby/gems/2.4.0/doc/gem2rpm-%{version} %endif +%if %{with ruby25} +%package -n ruby2.5-rubygem-gem2rpm +Summary:Generate rpm specfiles from gems +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description -n ruby2.5-rubygem-gem2rpm +Generate source rpms and rpm spec files from a Ruby Gem. +The spec file tries to follow the gem as closely as possible + +%package -n ruby2.5-rubygem-gem2rpm-doc +Summary:RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: ruby2.5-rubygem-gem2rpm = %{version} + +%description -n ruby2.5-rubygem-gem2rpm-doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + + +%post -n ruby2.5-rubygem-gem2rpm +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm-%{version} gem2rpm-%{version} %{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm.ruby2.5 gem2rpm.ruby2.5 %{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight} + +%preun -n ruby2.5-rubygem-gem2rpm +if [ "$1" = 0 ] ; then +/usr/sbin/update-alternatives --remove gem2rpm %{_bindir}/gem2rpm.ruby2.5-%{version} +/usr/sbin/update-alternatives --remove gem2rpm-%{version} %{_bindir}/gem2rpm.ruby2.5-%{version} +/usr/sbin/update-alternatives --remove gem2rpm.ruby2.5 %{_bindir}/gem2rpm.ruby2.5-%{version} +fi + +%files -n ruby2.5-rubygem-gem2rpm +%defattr(-,root,root,-) +%{_docdir}/ruby2.5-rubygem-gem2rpm +#{_bindir}/gem2rpm-opensuse +%{_bindir}/gem2rpm.ruby2.5-%{version} +%ghost %{_bindir}/gem2rpm.ruby2.5 +%ghost %{_bindir}/gem2rpm-%{version} +%ghost %{_bindir}/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm.ruby2.5 +%ghost %{_sysconfdir}/alternatives/gem2rpm-%{version} +# cache file +%{_libdir}/ruby/gems/2.5.0/cache/gem2rpm-%{version}.gem +%{_libdir}/ruby/gems/2.5.0/gems/gem2rpm-%{version} +%{_libdir}/ruby/gems/2.5.0/specifications/gem2rpm-%{version}.gemspec + +%files -n ruby2.5-rubygem-gem2rpm-doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/2.5.0/doc/gem2rpm-%{version} +%endif + %if %{with rubinius25} %package -n rbx2.5-rubygem-gem2rpm # MANUAL
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2016-11-20 18:17:12 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2016-08-12 15:35:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2016-11-20 18:17:14.0 +0100 @@ -1,0 +2,50 @@ +Thu Nov 10 17:17:22 UTC 2016 - mrueck...@suse.de + +- fix gem2rpm --fetch: prefer https for accessing rubygems.org + (bnc #963710) + adds 0026-use-https-instead-of-http-for-rubygems.org.patch + +--- +Thu Nov 10 16:10:15 UTC 2016 - mrueck...@suse.de + +- added support for 2.4.0 + +--- +Thu Nov 10 16:04:57 UTC 2016 - mrueck...@suse.de + +- dropped all patches and replaced them with git format-patch + series: + - modified: + 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch + 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch + 0003-new-opensuse-templates.-they-require-the-config-file.patch + 0004-added-example-gem2rpm.yml.patch + 0005-properly-shorten-description-and-summary.patch + 0006-Preserve-the-license-header-found-in-the-output-file.patch + 0007-fixes-for-the-opensuse-template.patch + 0008-do-not-use-not-.-not-supported-on-1.8-e.g.patch + 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch + 0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch + 0011-Add-support-for-scripts-pre-post-for-subpackages.patch + 0012-typo-in-gem2rpm.yml.documentation-custom_pkgs-instea.patch + 0013-Also-tag-LICENSE-MIT-as-docfile.patch + 0014-Refactor-into-multiple-lines.patch + 0015-Add-licence-to-the-list-of-license-files-as-well.patch + 0016-add-two-more-ways-to-express-changes.patch + - dropped: + 0017-touch-unpacked-sources.patch + 0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch + - newly added: + 0017-.markdown-is-also-seen-in-the-wild.patch + 0018-Only-use-the-extensions-doc-dir-on-MRI-2.1.x.patch + 0019-Cleaner-solution-for-the-extensions-doc-dir.patch + 0020-Ruby-1.8-insists-on-the-for-the-parameter.patch + 0021-Fix-company-name-in-copyright-header.patch + 0022-add-the-touch-for-build-compare-to-the-template.patch + 0023-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch + 0024-add-ability-to-provide-alternative-main-Source.patch + 0025-allow-running-commands-after-patching.patch +- added :post_patch hook to run commands before we rebuild the gem + used by libv8 + +--- Old: 0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch 0017-touch-unpacked-sources.patch New: 0017-.markdown-is-also-seen-in-the-wild.patch 0018-Only-use-the-extensions-doc-dir-on-MRI-2.1.x.patch 0019-Cleaner-solution-for-the-extensions-doc-dir.patch 0020-Ruby-1.8-insists-on-the-for-the-parameter.patch 0021-Fix-company-name-in-copyright-header.patch 0022-add-the-touch-for-build-compare-to-the-template.patch 0023-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch 0024-add-ability-to-provide-alternative-main-Source.patch 0025-allow-running-commands-after-patching.patch 0026-use-https-instead-of-http-for-rubygems.org.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.R9bO7w/_old 2016-11-20 18:17:15.0 +0100 +++ /var/tmp/diff_new_pack.R9bO7w/_new 2016-11-20 18:17:15.0 +0100 @@ -23,6 +23,7 @@ %bcond_with ruby21 %bcond_with ruby22 %bcond_with ruby23 +%bcond_with ruby24 %bcond_with rubinius25 Name: rubygem-gem2rpm @@ -47,24 +48,32 @@ Source1:gem2rpm.yml.documentation Source2:gem2rpm-opensuse Source3:series -Patch0: 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch -Patch1: 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch -Patch2: 0003-new-opensuse-templates.-they-require-the-config-file.patch -Patch3: 0004-added-example-gem2rpm.yml.patch -Patch4: 0005-properly-shorten-description-and-summary.patch -Patch5: 0006-Preserve-the-license-header-found-in-the-output-file.patch -Patch6: 0007-fixes-for-the-opensuse-template.patch -Patch7: 0008-do-not-use-not-.-not-supported-on-1.8-e.g.patch -Patch8: 0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch -Patch9:
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2016-08-12 15:35:15 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2016-04-11 09:11:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2016-08-12 15:35:21.0 +0200 @@ -1,0 +2,5 @@ +Mon Jul 18 08:29:08 UTC 2016 - tbecht...@suse.com + +- add 0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch + +--- New: 0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.5zeCO7/_old 2016-08-12 15:35:22.0 +0200 +++ /var/tmp/diff_new_pack.5zeCO7/_new 2016-08-12 15:35:22.0 +0200 @@ -64,6 +64,7 @@ Patch14:0016-add-two-more-ways-to-express-changes.patch Patch15:0009-No-longer-require-the-ruby-version-inside-the-subpac.patch Patch16:0017-touch-unpacked-sources.patch +Patch17:0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch Summary:Generate rpm specfiles from gems License:GPL-2.0+ Group: Development/Languages/Ruby @@ -92,6 +93,7 @@ %patch14 -p1 %patch15 -p1 %patch16 -p1 +%patch17 -p1 %build %gem_build ++ 0001-Also-tag-APACHE-LICENSE-2.0-as-docfile.patch ++ >From ee81c7f09669db9e6898df5bf36ac6c102d0d615 Mon Sep 17 00:00:00 2001 From: Thomas BechtoldDate: Mon, 18 Jul 2016 10:12:29 +0200 Subject: [PATCH] Also tag APACHE-LICENSE-2.0 as docfile Some packages (e.g. rubygem-apipie-rails) name it that way --- templates/opensuse.spec.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/opensuse.spec.erb b/templates/opensuse.spec.erb index 22c4647..5b62b26 100644 --- a/templates/opensuse.spec.erb +++ b/templates/opensuse.spec.erb @@ -118,6 +118,8 @@ PreReq: update-alternatives license license-mit mit-license +apache-license-2.0 +license-apache-2.0 changelog news release_notes -- 2.9.0
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2016-04-11 09:11:02 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2015-11-24 22:30:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2016-04-11 09:11:03.0 +0200 @@ -1,0 +2,5 @@ +Wed Apr 6 06:54:21 UTC 2016 - co...@suse.com + +- add 0017-touch-unpacked-sources.patch to please build-compare + +--- New: 0017-touch-unpacked-sources.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.8AYyIw/_old 2016-04-11 09:11:04.0 +0200 +++ /var/tmp/diff_new_pack.8AYyIw/_new 2016-04-11 09:11:04.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -63,6 +63,7 @@ Patch13:0015-Add-licence-to-the-list-of-license-files-as-well.patch Patch14:0016-add-two-more-ways-to-express-changes.patch Patch15:0009-No-longer-require-the-ruby-version-inside-the-subpac.patch +Patch16:0017-touch-unpacked-sources.patch Summary:Generate rpm specfiles from gems License:GPL-2.0+ Group: Development/Languages/Ruby @@ -90,7 +91,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p1 - +%patch16 -p1 %build %gem_build ++ 0017-touch-unpacked-sources.patch ++ commit f8c0600c659f26d1ec6c9d890a63dd642f741003 Author: Stephan KulowDate: Wed Apr 6 08:00:27 2016 +0200 add the touch for build-compare to the template diff --git a/templates/opensuse.spec.erb b/templates/opensuse.spec.erb index 57bf9ff..22c4647 100644 --- a/templates/opensuse.spec.erb +++ b/templates/opensuse.spec.erb @@ -137,6 +137,7 @@ PreReq: update-alternatives <% config[:patches].each_with_index do |patch, i| -%> %patch<%= i %> <%= patch[1] if patch[1] %> <% end -%> +find -type f -print0 | xargs -0 touch -r %{S:0} %gem_build <% end -%>
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2015-11-24 22:30:26 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is "rubygem-gem2rpm" Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2015-05-07 08:27:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2015-11-24 22:30:28.0 +0100 @@ -1,0 +2,6 @@ +Wed Nov 11 23:34:13 UTC 2015 - mrueck...@suse.de + +- remove the rubinius 2.2 support +- add support for rubinius 2.5 and ruby 2.3 + +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.tyKVPj/_old 2015-11-24 22:30:29.0 +0100 +++ /var/tmp/diff_new_pack.tyKVPj/_new 2015-11-24 22:30:29.0 +0100 @@ -22,7 +22,8 @@ %bcond_with ruby20 %bcond_with ruby21 %bcond_with ruby22 -%bcond_with rubinius22 +%bcond_with ruby23 +%bcond_with rubinius25 Name: rubygem-gem2rpm Version:0.10.1 @@ -380,63 +381,119 @@ %doc %{_libdir}/ruby/gems/2.2.0/doc/gem2rpm-%{version} %endif -%if %{with rubinius22} -%package -n rbx2.2-rubygem-gem2rpm +%if %{with ruby23} +%package -n ruby2.3-rubygem-gem2rpm +Summary:Generate rpm specfiles from gems +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description -n ruby2.3-rubygem-gem2rpm +Generate source rpms and rpm spec files from a Ruby Gem. +The spec file tries to follow the gem as closely as possible + +%package -n ruby2.3-rubygem-gem2rpm-doc +Summary:RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: ruby2.3-rubygem-gem2rpm = %{version} + +%description -n ruby2.3-rubygem-gem2rpm-doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + + +%post -n ruby2.3-rubygem-gem2rpm +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm.ruby2.3-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm-%{version} gem2rpm-%{version} %{_bindir}/gem2rpm.ruby2.3-%{version} %{mod_weight} +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm.ruby2.3 gem2rpm.ruby2.3 %{_bindir}/gem2rpm.ruby2.3-%{version} %{mod_weight} + +%preun -n ruby2.3-rubygem-gem2rpm +if [ "$1" = 0 ] ; then +/usr/sbin/update-alternatives --remove gem2rpm %{_bindir}/gem2rpm.ruby2.3-%{version} +/usr/sbin/update-alternatives --remove gem2rpm-%{version} %{_bindir}/gem2rpm.ruby2.3-%{version} +/usr/sbin/update-alternatives --remove gem2rpm.ruby2.3 %{_bindir}/gem2rpm.ruby2.3-%{version} +fi + +%files -n ruby2.3-rubygem-gem2rpm +%defattr(-,root,root,-) +%{_docdir}/ruby2.3-rubygem-gem2rpm +#{_bindir}/gem2rpm-opensuse +%{_bindir}/gem2rpm.ruby2.3-%{version} +%ghost %{_bindir}/gem2rpm.ruby2.3 +%ghost %{_bindir}/gem2rpm-%{version} +%ghost %{_bindir}/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm +%ghost %{_sysconfdir}/alternatives/gem2rpm.ruby2.3 +%ghost %{_sysconfdir}/alternatives/gem2rpm-%{version} +# cache file +%{_libdir}/ruby/gems/2.3.0/cache/gem2rpm-%{version}.gem +%{_libdir}/ruby/gems/2.3.0/gems/gem2rpm-%{version} +%{_libdir}/ruby/gems/2.3.0/specifications/gem2rpm-%{version}.gemspec + +%files -n ruby2.3-rubygem-gem2rpm-doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/2.3.0/doc/gem2rpm-%{version} +%endif + +%if %{with rubinius25} +%package -n rbx2.5-rubygem-gem2rpm # MANUAL # /MANUAL Summary:Generate rpm specfiles from gems Group: Development/Languages/Ruby PreReq: update-alternatives -%description -n rbx2.2-rubygem-gem2rpm +%description -n rbx2.5-rubygem-gem2rpm Generate source rpms and rpm spec files from a Ruby Gem. The spec file tries to follow the gem as closely as possible. -%package -n rbx2.2-rubygem-gem2rpm-doc +%package -n rbx2.5-rubygem-gem2rpm-doc Summary:RDoc documentation for gem2rpm Group: Development/Languages/Ruby -Requires: rbx2.2-rubygem-gem2rpm = %{version} +Requires: rbx2.5-rubygem-gem2rpm = %{version} -%description -n rbx2.2-rubygem-gem2rpm-doc +%description -n rbx2.5-rubygem-gem2rpm-doc Documentation generated at gem installation time. Usually in RDoc and RI formats. -%post -n rbx2.2-rubygem-gem2rpm +%post -n rbx2.5-rubygem-gem2rpm /usr/sbin/update-alternatives --install \ -/usr/bin/gem2rpm gem2rpm /usr/bin/gem2rpm.rbx2.2-%{version} %{mod_weight} +/usr/bin/gem2rpm gem2rpm
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2015-05-07 08:27:44 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2015-02-16 21:21:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2015-05-07 08:27:46.0 +0200 @@ -1,0 +2,7 @@ +Thu Apr 16 22:04:44 UTC 2015 - mrueck...@suse.de + +- update + 0003-new-opensuse-templates.-they-require-the-config-file.patch: + Fix company name in copyright header + +--- Other differences: -- ++ 0003-new-opensuse-templates.-they-require-the-config-file.patch ++ --- /var/tmp/diff_new_pack.K264nJ/_old 2015-05-07 08:27:46.0 +0200 +++ /var/tmp/diff_new_pack.K264nJ/_new 2015-05-07 08:27:46.0 +0200 @@ -262,7 +262,7 @@ +# spec file for package rubygem-%= spec.name %%= config[:version_suffix] % # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. -+# Copyright (c) %= Time.now.year % SUSE LINUX Products GmbH, Nuernberg, Germany. ++# Copyright (c) %= Time.now.year % SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2015-02-16 21:21:53 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2014-10-20 07:26:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2015-02-16 21:21:55.0 +0100 @@ -1,0 +2,45 @@ +Wed Feb 11 01:23:45 UTC 2015 - co...@suse.com + +- more patches from git: +A0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch +A0011-Add-support-for-scripts-pre-post-for-subpackages.patch +A0012-typo-in-gem2rpm.yml.documentation-custom_pkgs-instea.patch +A0013-Also-tag-LICENSE-MIT-as-docfile.patch +A0014-Refactor-into-multiple-lines.patch +A0015-Add-licence-to-the-list-of-license-files-as-well.patch +A0016-add-two-more-ways-to-express-changes.patch + +--- +Tue Oct 21 13:15:04 UTC 2014 - mrueck...@suse.de + +- added 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch + No longer require the ruby version inside the subpackage + + With the buildrequires we already make sure that the package is + only built if we find a recent enough ABI. then the normal + $interpreter(abi) requires generated by rpm is enough + +--- +Tue Oct 21 13:06:09 UTC 2014 - mrueck...@suse.de + +- refreshed patch series to match the git again: + M 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch + M 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch + A 0003-new-opensuse-templates.-they-require-the-config-file.patch + A 0004-added-example-gem2rpm.yml.patch + A 0005-properly-shorten-description-and-summary.patch + A 0006-Preserve-the-license-header-found-in-the-output-file.patch + A 0007-fixes-for-the-opensuse-template.patch + A 0008-do-not-use-not-.-not-supported-on-1.8-e.g.patch + D 0003-sle-12-templates.-they-require-the-config-file-suppo.patch + D 0004-openSUSE-template-fixes.patch + D 0005-added-example-gem2rpm.yml.patch + D 0006-properly-shorten-description-and-summary.patch + D 0007-Preserve-the-license-header-found-in-the-output-file.patch + D 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch + D 0009-rubinius-has-no-extensions-docdir.patch + D 0010-switch-to-new-packaging-scheme-by-default.patch + D 0011-fixes-for-the-opensuse-template.patch +- new patch for fixing usage of not() which breaks on 1.8 + +--- Old: 0003-sle-12-templates.-they-require-the-config-file-suppo.patch 0004-openSUSE-template-fixes.patch 0005-added-example-gem2rpm.yml.patch 0006-properly-shorten-description-and-summary.patch 0007-Preserve-the-license-header-found-in-the-output-file.patch 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch 0009-rubinius-has-no-extensions-docdir.patch 0010-switch-to-new-packaging-scheme-by-default.patch 0011-fixes-for-the-opensuse-template.patch New: 0003-new-opensuse-templates.-they-require-the-config-file.patch 0004-added-example-gem2rpm.yml.patch 0005-properly-shorten-description-and-summary.patch 0006-Preserve-the-license-header-found-in-the-output-file.patch 0007-fixes-for-the-opensuse-template.patch 0008-do-not-use-not-.-not-supported-on-1.8-e.g.patch 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch 0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch 0011-Add-support-for-scripts-pre-post-for-subpackages.patch 0012-typo-in-gem2rpm.yml.documentation-custom_pkgs-instea.patch 0013-Also-tag-LICENSE-MIT-as-docfile.patch 0014-Refactor-into-multiple-lines.patch 0015-Add-licence-to-the-list-of-license-files-as-well.patch 0016-add-two-more-ways-to-express-changes.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.zzMQZ5/_old 2015-02-16 21:21:56.0 +0100 +++ /var/tmp/diff_new_pack.zzMQZ5/_new 2015-02-16 21:21:56.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,6 +14,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + %bcond_without gem2rpm_bootstrap %bcond_with ruby18
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2014-10-20 07:26:52 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2014-09-12 11:28:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2014-10-20 07:26:55.0 +0200 @@ -1,0 +2,37 @@ +Wed Oct 15 08:44:14 UTC 2014 - co...@suse.com + +- add 0011-fixes-for-the-opensuse-template.patch to survive + format_spec formatting + +--- +Mon Oct 13 13:46:58 UTC 2014 - mrueck...@suse.de + +- added 0009-rubinius-has-no-extensions-docdir.patch + special casing for rubinius +- added 0010-switch-to-new-packaging-scheme-by-default.patch + move to new packaging templates by default + +--- +Mon Sep 22 16:12:08 UTC 2014 - mrueck...@suse.de + +- added ruby 1.9 support + +--- +Wed Sep 17 16:16:59 UTC 2014 - mrueck...@suse.de + +- added ruby 1.8 support +- also guarded the 2.1 part + +--- +Wed Sep 17 14:55:33 UTC 2014 - mrueck...@suse.de + +- added 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch + Dont allow an suffix with just a plain number. prefix it with + ruby. + +--- +Wed Sep 17 13:25:27 UTC 2014 - mrueck...@suse.de + +- added ruby 2.0 support + +--- New: 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch 0009-rubinius-has-no-extensions-docdir.patch 0010-switch-to-new-packaging-scheme-by-default.patch 0011-fixes-for-the-opensuse-template.patch Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.6ix4SD/_old 2014-10-20 07:26:55.0 +0200 +++ /var/tmp/diff_new_pack.6ix4SD/_new 2014-10-20 07:26:55.0 +0200 @@ -15,6 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without gem2rpm_bootstrap +%bcond_with ruby18 +%bcond_with ruby19 +%bcond_with ruby20 +%bcond_with ruby21 %bcond_with ruby22 %bcond_with rubinius22 @@ -47,6 +51,10 @@ Patch4: 0005-added-example-gem2rpm.yml.patch Patch5: 0006-properly-shorten-description-and-summary.patch Patch6: 0007-Preserve-the-license-header-found-in-the-output-file.patch +Patch7: 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch +Patch8: 0009-rubinius-has-no-extensions-docdir.patch +Patch9: 0010-switch-to-new-packaging-scheme-by-default.patch +Patch10:0011-fixes-for-the-opensuse-template.patch Summary:Generate rpm specfiles from gems License:GPL-2.0+ Group: Development/Languages/Ruby @@ -65,6 +73,10 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build %gem_build @@ -73,10 +85,10 @@ %gem_install -f --symlink-binaries --doc-files=AUTHORS LICENSE README for i in %{buildroot}%{_docdir}/*rubygem-gem2rpm*/ ; do install -m 0644 %{S:1} $i/gem2rpm.yml - install -m 0644 %{mod_full_name}/templates/sles12*.spec.erb $i/ done %if %{with gem2rpm_bootstrap} +%if %{with ruby21} %package -n ruby2.1-rubygem-gem2rpm Summary:Generate rpm specfiles from gems Group: Development/Languages/Ruby @@ -130,6 +142,175 @@ %files -n ruby2.1-rubygem-gem2rpm-doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/2.1.0/doc/gem2rpm-%{version} +%endif + +%if %{with ruby18} +%package -n ruby1.8-rubygem-gem2rpm +Summary:Generate rpm specfiles from gems +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description -n ruby1.8-rubygem-gem2rpm +Generate source rpms and rpm spec files from a Ruby Gem. +The spec file tries to follow the gem as closely as possible + +%package -n ruby1.8-rubygem-gem2rpm-doc +Summary:RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: ruby1.8-rubygem-gem2rpm = %{version} + +%description -n ruby1.8-rubygem-gem2rpm-doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + + +%post -n ruby1.8-rubygem-gem2rpm +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm.ruby1.8-%{version} %{mod_weight} +/usr/sbin/update-alternatives
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2014-09-12 11:28:21 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2014-07-27 18:47:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2014-09-12 11:28:22.0 +0200 @@ -1,0 +2,25 @@ +Mon Sep 8 11:02:50 UTC 2014 - mrueck...@suse.de + +- changed rubinius macro + +--- +Fri Sep 5 09:46:22 UTC 2014 - mrueck...@suse.de + +- for easier bootstrapping dont use gem2rpm here for now. + +--- +Thu Sep 4 13:34:30 UTC 2014 - mrueck...@suse.de + +- make it easier to enable rbx and ruby 2.2 support + +--- +Wed Sep 3 12:44:54 UTC 2014 - mrueck...@suse.de + +- added support for building for rbx + +--- +Mon Jul 28 11:11:27 UTC 2014 - mrueck...@suse.de + +- really install the templates as docs + +--- @@ -49,0 +75,3 @@ +- added gem2rpm_bootstrap conditional: + If this is set to true, the hardcoded subpackage/files sections + are used. Otherwise it will use the normal gem2rpm based solution @@ -58,0 +87 @@ +- only build for 2.1 for now @@ -127,0 +157,35 @@ +- added quilt series file to the sources list +- dropped empty doc package + +--- +Thu Jun 26 09:58:34 UTC 2014 - mrueck...@suse.de + +- update rpm macros requires to 5 + +--- +Wed Jun 25 17:07:59 UTC 2014 - mrueck...@suse.de + +- fix filelist for multi ruby packaging + +--- +Wed Jun 25 16:28:46 UTC 2014 - mrueck...@suse.de + +- add ruby 2.2 support + +--- +Tue Jun 24 15:19:28 UTC 2014 - mrueck...@suse.de + +- added BuildIgnore for rubygem(gem2rpm), otherwise we can not + bootstrap a new ruby version. this package will need the + subpackages for a new ruby version to be created manually. + +--- +Wed Jun 18 20:10:04 UTC 2014 - mrueck...@suse.de + +- fixed paths in the u-a scriptlets + +--- +Wed Jun 18 18:47:31 UTC 2014 - mrueck...@suse.de + +- no longer provide gem2rpm-opensuse +- use new style packaging but the hardcoded version @@ -140,0 +205 @@ + New: series Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.tpng0C/_old 2014-09-12 11:28:23.0 +0200 +++ /var/tmp/diff_new_pack.tpng0C/_new 2014-09-12 11:28:23.0 +0200 @@ -14,7 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +%bcond_without gem2rpm_bootstrap +%bcond_with ruby22 +%bcond_with rubinius22 Name: rubygem-gem2rpm Version:0.10.1 @@ -23,16 +25,21 @@ %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} %define mod_weight 1001 -# +#define rb_build_versions %{rb_default_ruby} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 1 -%rubygems_requires +BuildRequires: ruby-macros = 5 +BuildRequires: %{ruby} +%if %{with gem2rpm_bootstrap} +#!BuildIgnore: rubygem(gem2rpm) rubygem(ruby:2.1.0:gem2rpm) rubygem(ruby:2.2.0:gem2rpm) rubygem(rbx:2.2:gem2rpm) +%else +BuildRequires: %{rubygem gem2rpm} +%endif +BuildRequires: update-alternatives Url:https://github.com/lutter/gem2rpm/ Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml.documentation Source2:gem2rpm-opensuse - - +Source3:series Patch0: 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch Patch1: 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch Patch2: 0003-sle-12-templates.-they-require-the-config-file-suppo.patch @@ -49,15 +56,6 @@ Generate source rpms and rpm spec files from a Ruby Gem. The spec file tries to follow the gem as closely as possible -%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
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2014-07-27 18:47:26 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2014-02-07 10:29:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2014-07-27 18:47:50.0 +0200 @@ -1,0 +2,128 @@ +Thu Jul 24 15:30:14 UTC 2014 - mrueck...@suse.de + +- update to 0.10.1 + - Migrate test suite to Minitest 5.x. + - Move gem binary extension and gem.build_complete file. + - Merge pull request #31 from axilleas/add_check_macro + - Add %check macro, fix typos + - Remove Requires/Provides which are now autogenerated. + - Simplify binary extensions installation according to the new +guidelines. + - Clone new template for F21 and above. Rename the old one. + - cp -a implies -p. + - Better open mode handling. + - Test always against rawhide template. + - List development dependencies as BuildRequires. + - Cache rendered template in tests. + - Prevent dangling symlink in -debuginfo. + - Ignore release file encoding with older Ruby (fixes #23). + - Fix generating SRPM. + - Add description dot test case. + - Add description ending dot in #description method. + - Avoid 'method is redefined' warning. + - Test against current template. + - Merge pull request #25 from xsuchy/pull-req-dot + - description should end with dot + - Merge pull request #24 from strzibny/master + - Escape % in comment +- rebased gem2rpm-change-default-template.diff, new name: + 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch +- rebased gem2rpm-0.9.2_config_file_support.patch, new name + 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch +- rebased gem2rpm-0.9.2_sles12_template.patch, new name: + 0003-sle-12-templates.-they-require-the-config-file-suppo.patch +- rebased and splitted gem2rpm-fix-opensuse-template.diff, new + name: + 0004-openSUSE-template-fixes.patch + 0005-added-example-gem2rpm.yml.patch + 0006-properly-shorten-description-and-summary.patch + 0007-Preserve-the-license-header-found-in-the-output-file.patch + +--- +Wed Jul 23 09:06:02 UTC 2014 - mrueck...@suse.de + +- make sure the sle12 template is also installed + +--- +Mon Jul 21 11:32:38 UTC 2014 - mrueck...@suse.de + +- renamed gem2rpm.yml to gem2rpm.yml.documentation: + this is just documentation and not the gem2rpm.yml that gem2rpm + should pick up. + +--- +Mon Jul 21 09:23:55 UTC 2014 - mrueck...@suse.de + +- added gem2rpm-0.9.2_sles12_template.patch: + initial template for sle12 ruby packaging + +--- +Tue Jul 15 18:43:12 UTC 2014 - mrueck...@suse.de + +- added gem2rpm.yml and install it to the installed documentation + +--- +Tue Jul 15 18:38:35 UTC 2014 - mrueck...@suse.de + +- sles 12 template + - allow changing the master package name with config[:name] +This is mostly useful if you want the actual main package to +have real content after building. all the subpackages will +ignore config[:name] and still use the gem name. + +--- +Tue Jul 15 17:21:42 UTC 2014 - mrueck...@suse.de + +- sles 12 template + - add version suffix to the spec file for ... line + - move the preamble up so we can actually use +%define rb_build_versions ... + - config[:disable_automatic_rdoc_dep] to disable adding automatic +rdoc dependency. This is mostly needed for building rdoc itself +and avoiding a bootstrap cycle. + - actually print the patch name in the preamble + - the scripts entry in gem2rpm.yml can now be a hash or a string. + +--- +Tue Jul 15 14:27:57 UTC 2014 - mrueck...@suse.de + +- sles 12 template + - no longer print the gem2rpm.yml warning when the config is empty + - add back mod_version_suffix to the spec file +(needed for gem_install) +- converted buildrequires for ruby and ruby-devel to the macros so + we can easily pull multiple ruby versions and also easily limit + the ruby versions +- always buildrequire gem2rpm in generated spec files. It is the + only clean way to solve the have choive for rubygem(gem2rpm) + and still maintaining the multiversion ability +- handle config[:disable_docs] and pass
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2014-02-07 10:29:51 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2014-01-23 15:55:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2014-02-07 10:29:51.0 +0100 @@ -1,0 +2,5 @@ +Thu Feb 6 11:52:43 UTC 2014 - co...@suse.com + +- buildrequire ruby-devel for extensions + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.PPyCSV/_old 2014-02-07 10:29:52.0 +0100 +++ /var/tmp/diff_new_pack.PPyCSV/_new 2014-02-07 10:29:52.0 +0100 @@ -75,7 +75,7 @@ begin diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2014-01-13 20:50:24.423287000 +0100 gem2rpm-0.9.2/templates/opensuse.spec.erb 2014-02-06 12:50:30.021264515 +0100 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -86,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,181 @@ +@@ -15,58 +15,184 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -125,10 +125,13 @@ +% for req in spec.required_ruby_version -% +% unless req.empty? -% +Requires: ruby %= req % -+BuildRequires: ruby-devel %= req % ++BuildRequires: ruby %= req % % end -% -% for d in spec.dependencies -% +% end -% ++% unless spec.extensions.empty? -% ++BuildRequires: ruby-devel ++% end -% +% for d in spec.runtime_dependencies -% +% if ['rdoc'].include? d.name.to_s -% +# %= d.name % %= d.__getobj__().requirement % @@ -206,10 +209,10 @@ +Summary:Test suite for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} - ++ +%description testsuite +Test::Unit or RSpec files, useful for developers. -+ + +% end -% %prep +#gem_unpack @@ -233,7 +236,9 @@ +mv %{buildroot}%{_bindir}/%= executable %{,%{mod_branch}} +touch %{buildroot}%{_sysconfdir}/alternatives/%= executable % +ln -s %{_sysconfdir}/alternatives/%= executable % %{buildroot}%{_bindir}/%= executable % -+ + +-%clean +-%{__rm} -rf %{buildroot} +% end -% +% unless docdirfiles.empty? -% +mkdir -p %{buildroot}%{_docdir}/%{name} @@ -248,9 +253,7 @@ +/usr/sbin/update-alternatives --install \ +%{_bindir}/%= executable % %= executable % %{_bindir}/%= executable %%{mod_branch} %{mod_weight} +% end -% - --%clean --%{__rm} -rf %{buildroot} ++ +%preun +% spec.executables.each do |executable| -% +if [ $1 = 0 ] ; then -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2014-01-23 14:06:21 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-06-26 20:27:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2014-01-23 15:55:57.0 +0100 @@ -1,0 +2,7 @@ +Mon Jan 13 19:52:26 UTC 2014 - co...@suse.com + +- switch to the macros Klaus wrote + +- modified patches: + * gem2rpm-fix-opensuse-template.diff +--- Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.zTaflL/_old 2014-01-23 15:55:57.0 +0100 +++ /var/tmp/diff_new_pack.zTaflL/_new 2014-01-23 15:55:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.zTaflL/_old 2014-01-23 15:55:57.0 +0100 +++ /var/tmp/diff_new_pack.zTaflL/_new 2014-01-23 15:55:57.0 +0100 @@ -18,7 +18,7 @@ ensure out.close() end -Nur in gem2rpm-0.9.2/bin: gem2rpm.orig. +Only in gem2rpm-0.9.2/bin: gem2rpm.orig diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb gem2rpm-0.9.2/lib/gem2rpm/specification.rb --- gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb2013-04-30 13:31:08.586730796 +0200 +++ gem2rpm-0.9.2/lib/gem2rpm/specification.rb 2013-05-02 10:33:35.314236973 +0200 @@ -75,7 +75,7 @@ begin diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-06-26 17:03:53.276463245 +0200 gem2rpm-0.9.2/templates/opensuse.spec.erb 2014-01-13 20:50:24.423287000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -86,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,178 @@ +@@ -15,58 +15,181 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -121,14 +121,14 @@ --% -Requires: ruby %= spec.required_ruby_version % -BuildRequires: ruby-devel %= spec.required_ruby_version % -+BuildRequires: ruby-macros = 1 ++BuildRequires: ruby-macros = 3 +% for req in spec.required_ruby_version -% +% unless req.empty? -% +Requires: ruby %= req % +BuildRequires: ruby-devel %= req % -+% end -% % end -% -% for d in spec.dependencies -% ++% end -% +% for d in spec.runtime_dependencies -% +% if ['rdoc'].include? d.name.to_s -% +# %= d.name % %= d.__getobj__().requirement % @@ -206,10 +206,10 @@ +Summary:Test suite for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} -+ + +%description testsuite +Test::Unit or RSpec files, useful for developers. - ++ +% end -% %prep +#gem_unpack @@ -238,7 +238,7 @@ +% unless docdirfiles.empty? -% +mkdir -p %{buildroot}%{_docdir}/%{name} +% docdirfiles.each do |file| -% -+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/%= file % %buildroot/%{_docdir}/%{name}/%= file % ++ln -s %{gem_base}/gems/%{mod_full_name}/%= file % %buildroot/%{_docdir}/%{name}/%= file % +% end -% +% end -% +% unless spec.executables.empty? -% @@ -275,26 +275,29 @@ -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%ghost %{_sysconfdir}/alternatives/%= executable % +% end -% -+%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ ++%{gem_base}/cache/%{mod_full_name}.gem ++%{gem_base}/gems/%{mod_full_name}/ ++% unless spec.extensions.empty? -% ++%{gem_extensions}/%{mod_full_name} ++% end -% +% test_frameworks.each do |framework| -% -+%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/%= framework % ++%exclude %{gem_base}/gems/%{mod_full_name}/%= framework % +% end -% -+%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec ++%{gem_base}/specifications/%{mod_full_name}.gemspec +% if spec.has_rdoc -% +%files doc
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-06-26 20:27:28 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-06-11 09:37:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-06-26 20:27:30.0 +0200 @@ -1,0 +2,11 @@ +Wed Jun 26 14:48:32 UTC 2013 - co...@suse.com + +- doing update-alternatives correctly after reading + http://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines + +--- +Wed Jun 26 08:29:30 UTC 2013 - co...@suse.com + +- avoid --force in update-alternatives as SLE11 does not have that ;( + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.CLVmk5/_old 2013-06-26 20:27:30.0 +0200 +++ /var/tmp/diff_new_pack.CLVmk5/_new 2013-06-26 20:27:30.0 +0200 @@ -75,7 +75,7 @@ begin diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-06-10 12:04:00.205318552 +0200 gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-06-26 17:03:53.276463245 +0200 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -86,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,169 @@ +@@ -15,58 +15,178 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -143,6 +143,9 @@ +% unless spec.rdoc_options.empty? -% +BuildRequires: rubygem(rdoc) 3.10 +% end -% ++% unless spec.executables.empty? -% ++BuildRequires: update-alternatives ++% end -% +% unless spec.homepage.nil? || spec.homepage.empty? -% Url:%= spec.homepage % -Source: %{mod_name}-%{version}.gem @@ -164,7 +167,7 @@ %description -%= spec.description % +%= spec.description -% - ++ +% if spec.has_rdoc -% +%package doc +Summary:RDoc documentation for %{mod_name} @@ -206,7 +209,7 @@ + +%description testsuite +Test::Unit or RSpec files, useful for developers. -+ + +% end -% %prep +#gem_unpack @@ -223,9 +226,14 @@ %gem_cleanup -% end % +% end -% ++% unless spec.executables.empty? -% ++mkdir -p %{buildroot}%{_sysconfdir}/alternatives ++% end -% +% spec.executables.each do |executable| -% +mv %{buildroot}%{_bindir}/%= executable %{,%{mod_branch}} -+ln -s %= executable %%{mod_branch} %{buildroot}%{_bindir}/%= executable % ++touch %{buildroot}%{_sysconfdir}/alternatives/%= executable % ++ln -s %{_sysconfdir}/alternatives/%= executable % %{buildroot}%{_bindir}/%= executable % ++ +% end -% +% unless docdirfiles.empty? -% +mkdir -p %{buildroot}%{_docdir}/%{name} @@ -237,7 +245,7 @@ + +%post +% spec.executables.each do |executable| -% -+/usr/sbin/update-alternatives --force --install \ ++/usr/sbin/update-alternatives --install \ +%{_bindir}/%= executable % %= executable % %{_bindir}/%= executable %%{mod_branch} %{mod_weight} +% end -% @@ -254,18 +262,18 @@ %files %defattr(-,root,root,-) -% spec.executables.each do |executable| % --%{_bindir}/%= executable % --% end % --%{_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}/ +% unless docdirfiles.empty? -% +%{_docdir}/%{name} +% end -% +% spec.executables.each do |executable| -% +%{_bindir}/%= executable %%{mod_branch} -+%ghost %{_bindir}/%= executable % + %{_bindir}/%= executable % +-% end % +-%{_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}/ ++%ghost %{_sysconfdir}/alternatives/%= executable % +% end -% +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-06-11 06:38:03 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-06-05 19:33:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-06-11 09:37:28.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 10 10:04:12 UTC 2013 - co...@suse.com + +- make sure license.txt is also symlinked + +--- +Sat Jun 8 06:42:37 UTC 2013 - co...@suse.com + +- integrate more of the version into the mod_weight to give + an easier job to update-alternatives +- use --force in update-alternatives to replace (old) binaries + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.IfvusN/_old 2013-06-11 09:37:28.0 +0200 +++ /var/tmp/diff_new_pack.IfvusN/_new 2013-06-11 09:37:28.0 +0200 @@ -75,7 +75,7 @@ begin diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-25 22:59:55.229799605 +0200 gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-06-10 12:04:00.205318552 +0200 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -86,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,162 @@ +@@ -15,58 +15,169 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -101,6 +101,16 @@ -License:GPLv2+ or Ruby -# +%define mod_full_name %{mod_name}-%{version} ++% unless spec.executables.empty? ++ versions=spec.version.to_s.split('.') ++ begin v1=Integer(versions[0]) rescue v1=1 end ++ begin v2=Integer(versions[1]) rescue v2=0 end ++ begin v3=Integer(versions[2]) rescue v3=0 end ++ weight=v1*1+v2*100+v3 ++ -% ++%define mod_branch -%{version} ++%define mod_weight %= weight % ++% end -% + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch @@ -116,9 +126,9 @@ +% unless req.empty? -% +Requires: ruby %= req % +BuildRequires: ruby-devel %= req % ++% end -% % end -% -% for d in spec.dependencies -% -+% end -% +% for d in spec.runtime_dependencies -% +% if ['rdoc'].include? d.name.to_s -% +# %= d.name % %= d.__getobj__().requirement % @@ -148,15 +158,13 @@ +% end -% +Group: Development/Languages/Ruby +% unless spec.executables.empty? -% -+%define mod_branch -%{version} -+%define mod_weight %= spec.version.to_s.split('.')[0] % +PreReq: update-alternatives +% end -% + %description -%= spec.description % +%= spec.description -% -+ + +% if spec.has_rdoc -% +%package doc +Summary:RDoc documentation for %{mod_name} @@ -181,11 +189,10 @@ + %w(test spec).each { |framework| + test_frameworks[framework] = 1 if path.index(framework + /) == 0 + } -+ %w(changes copying copying.txt history history.md history.txt legal.rdoc -+license license.md license.rdoc mit-license changes.txt changes.md changelog.txt history.rdoc changelog.rdoc changelog.md -+mit-license.txt readme readme.md readme.rdoc readme.txt).each { |file| -+ # $stderr.puts PATH #{path} #{file} -+ docdirfiles path if path.downcase == file ++ %w(changes copying history legal license mit-license changelog readme).each { |file| ++ bpath = path.downcase.gsub(%r{\.rdoc$}, '').gsub(%r{\.txt$}, '').gsub(%r{\.md$}, '') ++ #$stderr.puts PATH #{path} #{bpath} #{file} ++ docdirfiles path if bpath == file + } + end + @@ -199,7 +206,7 @@ + +%description testsuite +Test::Unit or RSpec files, useful for developers. - ++ +% end -% %prep +#gem_unpack @@ -230,7 +237,7 @@ + +%post +% spec.executables.each do |executable| -% -+/usr/sbin/update-alternatives --install \ ++/usr/sbin/update-alternatives --force --install \ +%{_bindir}/%= executable % %= executable % %{_bindir}/%= executable %%{mod_branch} %{mod_weight} +% end -% -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-06-05 19:33:40 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-05-27 09:59:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-06-05 19:33:41.0 +0200 @@ -1,0 +2,5 @@ +Sat May 25 21:00:11 UTC 2013 - co...@suse.com + +- include changelog and history files too + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.u5El5P/_old 2013-06-05 19:33:41.0 +0200 +++ /var/tmp/diff_new_pack.u5El5P/_new 2013-06-05 19:33:41.0 +0200 @@ -75,7 +75,7 @@ begin diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb --- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-14 12:10:57.659712421 +0200 gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-25 22:59:55.229799605 +0200 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -86,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,161 @@ +@@ -15,58 +15,162 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -181,10 +181,11 @@ + %w(test spec).each { |framework| + test_frameworks[framework] = 1 if path.index(framework + /) == 0 + } -+ %w(LICENSE MIT-LICENSE LICENSE.md MIT-LICENSE.txt COPYING LICENSE.rdoc LEGAL.rdoc README.rdoc -+ COPYING.txt README.txt README README.md).each { |file| ++ %w(changes copying copying.txt history history.md history.txt legal.rdoc ++license license.md license.rdoc mit-license changes.txt changes.md changelog.txt history.rdoc changelog.rdoc changelog.md ++mit-license.txt readme readme.md readme.rdoc readme.txt).each { |file| + # $stderr.puts PATH #{path} #{file} -+ docdirfiles file if path == file ++ docdirfiles path if path.downcase == file + } + end + -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-05-27 09:59:43 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-04-29 09:56:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-05-27 09:59:44.0 +0200 @@ -1,0 +2,11 @@ +Tue May 7 09:34:43 UTC 2013 - co...@suse.com + +- more license files + +--- +Thu May 2 08:58:11 UTC 2013 - co...@suse.com + +- ciaran wants to see the license files mentioned in %docdir, so create + symlinks + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.P723ek/_old 2013-05-27 09:59:45.0 +0200 +++ /var/tmp/diff_new_pack.P723ek/_new 2013-05-27 09:59:45.0 +0200 @@ -1,6 +1,6 @@ diff -ru gem2rpm-0.9.2.orig/bin/gem2rpm gem2rpm-0.9.2/bin/gem2rpm gem2rpm-0.9.2.orig/bin/gem2rpm 2013-04-27 18:05:35.507339324 +0200 -+++ gem2rpm-0.9.2/bin/gem2rpm 2013-04-27 18:06:04.661974841 +0200 +--- gem2rpm-0.9.2.orig/bin/gem2rpm 2013-04-30 13:31:08.586730796 +0200 gem2rpm-0.9.2/bin/gem2rpm 2013-05-02 10:33:35.314236973 +0200 @@ -121,9 +121,15 @@ if output_file.nil? Gem2Rpm::convert(gemfile, template, $stdout, nongem, local, doc_subpackage) unless deps @@ -18,10 +18,10 @@ ensure out.close() end -Only in gem2rpm-0.9.2/bin: gem2rpm.orig +Nur in gem2rpm-0.9.2/bin: gem2rpm.orig. diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb gem2rpm-0.9.2/lib/gem2rpm/specification.rb gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb2013-04-27 18:05:35.561338649 +0200 -+++ gem2rpm-0.9.2/lib/gem2rpm/specification.rb 2013-04-27 18:06:04.661974841 +0200 +--- gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb2013-04-30 13:31:08.586730796 +0200 gem2rpm-0.9.2/lib/gem2rpm/specification.rb 2013-05-02 10:33:35.314236973 +0200 @@ -6,7 +6,11 @@ class Specification SimpleDelegator # A long description of gem wrapped to 78 characters. @@ -54,8 +54,8 @@ def development_dependencies super.map {|d| Gem2Rpm::Dependency.new d} diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm.rb gem2rpm-0.9.2/lib/gem2rpm.rb gem2rpm-0.9.2.orig/lib/gem2rpm.rb 2013-04-27 18:05:35.507339324 +0200 -+++ gem2rpm-0.9.2/lib/gem2rpm.rb 2013-04-27 18:08:10.485401832 +0200 +--- gem2rpm-0.9.2.orig/lib/gem2rpm.rb 2013-04-30 13:31:08.586730796 +0200 gem2rpm-0.9.2/lib/gem2rpm.rb 2013-05-02 10:33:35.314236973 +0200 @@ -31,11 +31,14 @@ end @@ -73,11 +73,9 @@ download_path = unless local begin -Only in gem2rpm-0.9.2/lib: gem2rpm.rb.orig -Only in gem2rpm-0.9.2/lib: gem2rpm.rb.rej diff -ru gem2rpm-0.9.2.orig/templates/opensuse.spec.erb gem2rpm-0.9.2/templates/opensuse.spec.erb gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-27 18:05:35.561338649 +0200 -+++ gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-04-28 09:10:52.287772175 +0200 +--- gem2rpm-0.9.2.orig/templates/opensuse.spec.erb 2013-04-30 13:31:08.586730796 +0200 gem2rpm-0.9.2/templates/opensuse.spec.erb 2013-05-14 12:10:57.659712421 +0200 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-%= spec.name % (Version %= spec.version %) @@ -88,7 +86,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,142 @@ +@@ -15,58 +15,161 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -118,9 +116,9 @@ +% unless req.empty? -% +Requires: ruby %= req % +BuildRequires: ruby-devel %= req % -+% end -% % end -% -% for d in spec.dependencies -% ++% end -% +% for d in spec.runtime_dependencies -% +% if ['rdoc'].include? d.name.to_s -% +# %= d.name % %= d.__getobj__().requirement % @@ -164,23 +162,33 @@ +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. + +% end -% -+% test_frameworks = %w(test spec).select do |framework| -+ format.file_entries.any? do |entry| -+ # new rubygems version has it different -+ if entry.kind_of?(Array) -+ path=entry[0]['path'] -+ else -+ path=entry -+ end -+
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-04-29 09:56:30 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2013-03-20 09:54:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-04-29 09:56:32.0 +0200 @@ -1,0 +2,15 @@ +Sun Apr 28 06:55:08 UTC 2013 - co...@suse.com + +- support ruby 2.0 + +--- +Sat Apr 27 16:09:07 UTC 2013 - co...@suse.com + +- update to 0.9.2 - no changelog + +--- +Mon Apr 22 19:03:01 UTC 2013 - mrueck...@suse.de + +- fix redirection in gem2rpm-opensuse + +--- Old: gem2rpm-0.8.4.gem New: gem2rpm-0.9.2.gem Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.JYweLL/_old 2013-04-29 09:56:33.0 +0200 +++ /var/tmp/diff_new_pack.JYweLL/_new 2013-04-29 09:56:33.0 +0200 @@ -17,7 +17,7 @@ Name: rubygem-gem2rpm -Version:0.8.4 +Version:0.9.2 Release:0 %define mod_name gem2rpm %define mod_full_name %{mod_name}-%{version} @@ -34,6 +34,9 @@ Summary:Generate rpm specfiles from gems License:GPL-2.0+ Group: Development/Languages/Ruby +%define mod_branch -%{version} +%define mod_weight 9 +PreReq: update-alternatives %description Generate source rpms and rpm spec files from a Ruby Gem. @@ -57,12 +60,24 @@ %gem_build %install -%gem_install +%gem_install -f %{__install} -D -m 0755 %{S:2} %{buildroot}%{_bindir}/gem2rpm-opensuse +mv %{buildroot}%{_bindir}/gem2rpm{,%{mod_branch}} +ln -s gem2rpm%{mod_branch} %{buildroot}%{_bindir}/gem2rpm + +%post +/usr/sbin/update-alternatives --install \ +%{_bindir}/gem2rpm gem2rpm %{_bindir}/gem2rpm%{mod_branch} %{mod_weight} + +%preun +if [ $1 = 0 ] ; then +/usr/sbin/update-alternatives --remove gem2rpm %{_bindir}/gem2rpm%{mod_branch} +fi %files %defattr(-,root,root,-) -%{_bindir}/gem2rpm +%{_bindir}/gem2rpm%{mod_branch} +%ghost %{_bindir}/gem2rpm %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.JYweLL/_old 2013-04-29 09:56:33.0 +0200 +++ /var/tmp/diff_new_pack.JYweLL/_new 2013-04-29 09:56:33.0 +0200 @@ -1,7 +1,7 @@ -diff -ru gem2rpm-0.8.4.orig/bin/gem2rpm gem2rpm-0.8.4/bin/gem2rpm gem2rpm-0.8.4.orig/bin/gem2rpm 2013-03-18 14:10:53.897635829 +0100 -+++ gem2rpm-0.8.4/bin/gem2rpm 2013-03-18 14:11:06.853676714 +0100 -@@ -122,9 +122,15 @@ +diff -ru gem2rpm-0.9.2.orig/bin/gem2rpm gem2rpm-0.9.2/bin/gem2rpm +--- gem2rpm-0.9.2.orig/bin/gem2rpm 2013-04-27 18:05:35.507339324 +0200 gem2rpm-0.9.2/bin/gem2rpm 2013-04-27 18:06:04.661974841 +0200 +@@ -121,9 +121,15 @@ if output_file.nil? Gem2Rpm::convert(gemfile, template, $stdout, nongem, local, doc_subpackage) unless deps else @@ -18,10 +18,10 @@ ensure out.close() end -Nur in gem2rpm-0.8.4/bin: gem2rpm.orig. -diff -ru gem2rpm-0.8.4.orig/lib/gem2rpm/specification.rb gem2rpm-0.8.4/lib/gem2rpm/specification.rb gem2rpm-0.8.4.orig/lib/gem2rpm/specification.rb2013-03-18 14:10:53.897635829 +0100 -+++ gem2rpm-0.8.4/lib/gem2rpm/specification.rb 2013-03-18 14:11:06.852676700 +0100 +Only in gem2rpm-0.9.2/bin: gem2rpm.orig +diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb gem2rpm-0.9.2/lib/gem2rpm/specification.rb +--- gem2rpm-0.9.2.orig/lib/gem2rpm/specification.rb2013-04-27 18:05:35.561338649 +0200 gem2rpm-0.9.2/lib/gem2rpm/specification.rb 2013-04-27 18:06:04.661974841 +0200 @@ -6,7 +6,11 @@ class Specification SimpleDelegator # A long description of gem wrapped to 78 characters. @@ -53,28 +53,31 @@ # List of dependencies that are used for development. def development_dependencies super.map {|d| Gem2Rpm::Dependency.new d} -diff -ru gem2rpm-0.8.4.orig/lib/gem2rpm.rb gem2rpm-0.8.4/lib/gem2rpm.rb gem2rpm-0.8.4.orig/lib/gem2rpm.rb 2013-03-18 14:10:53.897635829 +0100 -+++ gem2rpm-0.8.4/lib/gem2rpm.rb 2013-03-18 14:11:06.853676714 +0100 -@@ -35,11 +35,13 @@ +diff -ru gem2rpm-0.9.2.orig/lib/gem2rpm.rb gem2rpm-0.9.2/lib/gem2rpm.rb +--- gem2rpm-0.9.2.orig/lib/gem2rpm.rb 2013-04-27
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2013-03-20 09:54:16 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2012-09-01 21:59:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2013-03-20 09:54:19.0 +0100 @@ -1,0 +2,6 @@ +Mon Mar 18 13:04:43 UTC 2013 - co...@suse.com + +- update to 0.8.4 - fixes for fedora 18 +- use url for sources + +--- Old: gem2rpm-0.8.1.gem New: gem2rpm-0.8.4.gem Other differences: -- ++ rubygem-gem2rpm.spec ++ --- /var/tmp/diff_new_pack.kGD2Ip/_old 2013-03-20 09:54:20.0 +0100 +++ /var/tmp/diff_new_pack.kGD2Ip/_new 2013-03-20 09:54:20.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-gem2rpm # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rubygem-gem2rpm -Version:0.8.1 +Version:0.8.4 Release:0 %define mod_name gem2rpm %define mod_full_name %{mod_name}-%{version} @@ -26,7 +26,7 @@ BuildRequires: ruby-macros = 1 %rubygems_requires Url:https://github.com/lutter/gem2rpm/ -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Source2:gem2rpm-opensuse Patch0: gem2rpm-fix-opensuse-template.diff Patch1: gem2rpm-change-default-template.diff ++ gem2rpm-change-default-template.diff ++ --- /var/tmp/diff_new_pack.kGD2Ip/_old 2013-03-20 09:54:21.0 +0100 +++ /var/tmp/diff_new_pack.kGD2Ip/_new 2013-03-20 09:54:21.0 +0100 @@ -19,16 +19,4 @@ template = Gem2Rpm::TEMPLATE else begin -Index: gem2rpm-0.8.1/lib/gem2rpm/distro.rb -=== gem2rpm-0.8.1.orig/lib/gem2rpm/distro.rb -+++ gem2rpm-0.8.1/lib/gem2rpm/distro.rb -@@ -20,7 +20,7 @@ module Gem2Rpm - else # no version or more versions (= don't know what to do) - FEDORA - end -- elsif !release_files.grep(/SuSe/).empty? -+ elsif !release_files.grep(/SuSE/).empty? - OPENSUSE - else - DEFAULT + ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.kGD2Ip/_old 2013-03-20 09:54:21.0 +0100 +++ /var/tmp/diff_new_pack.kGD2Ip/_new 2013-03-20 09:54:21.0 +0100 @@ -1,7 +1,80 @@ -Index: gem2rpm-0.8.1/templates/opensuse.spec.erb -=== gem2rpm-0.8.1.orig/templates/opensuse.spec.erb -+++ gem2rpm-0.8.1/templates/opensuse.spec.erb +diff -ru gem2rpm-0.8.4.orig/bin/gem2rpm gem2rpm-0.8.4/bin/gem2rpm +--- gem2rpm-0.8.4.orig/bin/gem2rpm 2013-03-18 14:10:53.897635829 +0100 gem2rpm-0.8.4/bin/gem2rpm 2013-03-18 14:11:06.853676714 +0100 +@@ -122,9 +122,15 @@ + if output_file.nil? + Gem2Rpm::convert(gemfile, template, $stdout, nongem, local, doc_subpackage) unless deps + else ++oldfile=IO.readlines(output_file) if File.exists? output_file ++oldlicense=nil ++oldfile.each do |line| ++ m = line.match(%r{^License:\s*(\w.*)$}) ++ oldlicense = m[1] if m ++end if oldfile + begin + out = open(output_file, w) +-Gem2Rpm::convert(gemfile, template, out, nongem, local, doc_subpackage) ++Gem2Rpm::convert(gemfile, template, out, nongem, local, doc_subpackage, oldlicense) + ensure + out.close() + end +Nur in gem2rpm-0.8.4/bin: gem2rpm.orig. +diff -ru gem2rpm-0.8.4.orig/lib/gem2rpm/specification.rb gem2rpm-0.8.4/lib/gem2rpm/specification.rb +--- gem2rpm-0.8.4.orig/lib/gem2rpm/specification.rb2013-03-18 14:10:53.897635829 +0100 gem2rpm-0.8.4/lib/gem2rpm/specification.rb 2013-03-18 14:11:06.852676700 +0100 +@@ -6,7 +6,11 @@ + class Specification SimpleDelegator + # A long description of gem wrapped to 78 characters. + def description +- Helpers::word_wrap(super.to_s.chomp, 78) + \n ++ text=super ++ if text.nil? or text.empty? ++text=self.__getobj__().summary ++ end ++ Helpers::word_wrap(text.to_s.chomp, 78) + \n + end + + # A list of Gem::Dependency objects this gem depends on (includes every +@@ -15,6 +19,17 @@ +
commit rubygem-gem2rpm for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory checked in at 2012-09-01 21:59:21 Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old) and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New) Package is rubygem-gem2rpm, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes 2012-08-04 09:39:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes 2012-09-01 21:59:23.0 +0200 @@ -1,0 +2,11 @@ +Mon Aug 6 10:54:32 UTC 2012 - co...@suse.com + +- buildrequire rdoc if there are options (I just picked 3.10 as + minimum, which is one higher than what ruby 1.9.1 offers in itself) + +--- +Wed Aug 1 06:07:50 UTC 2012 - co...@suse.com + +- shorten the summary + +--- Other differences: -- ++ gem2rpm-fix-opensuse-template.diff ++ --- /var/tmp/diff_new_pack.BcrzNn/_old 2012-09-01 21:59:24.0 +0200 +++ /var/tmp/diff_new_pack.BcrzNn/_new 2012-09-01 21:59:24.0 +0200 @@ -12,7 +12,7 @@ # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -@@ -15,58 +15,103 @@ +@@ -15,58 +15,106 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -45,8 +45,8 @@ % end -% -% for d in spec.dependencies -% +% end -% -+% if false -% +% for d in spec.runtime_dependencies -% ++% if ['rdoc'].include? d.name.to_s -% +# %= d.name % %= d.__getobj__().requirement % % for req in d.requirement -% -BuildRequires: rubygem-%= d.name % %= req % @@ -56,6 +56,9 @@ % end -% -# +% end -% ++% unless spec.rdoc_options.empty? -% ++BuildRequires: rubygem(rdoc) 3.10 ++% end -% +% unless spec.homepage.nil? || spec.homepage.empty? -% Url:%= spec.homepage % -Source: %{mod_name}-%{version}.gem @@ -74,7 +77,7 @@ %description -%= spec.description % +%= spec.description -% - ++ +% if spec.has_rdoc -% +%package doc +Summary:RDoc documentation for %{mod_name} @@ -84,7 +87,7 @@ +%description doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. -+ + +% end -% +% test_frameworks = %w(test spec).select { |framework| format.file_entries.any? { |entry, data| path = entry['path'] ; path.index(framework + /) == 0 } } -% +% unless test_frameworks.empty? -% @@ -160,12 +163,30 @@ - Helpers::word_wrap(super.to_s.chomp, 78) + \n + text=super + if text.nil? or text.empty? -+text=self.summary ++text=self.__getobj__().summary + end + Helpers::word_wrap(text.to_s.chomp, 78) + \n end # A list of Gem::Dependency objects this gem depends on (includes every +@@ -15,6 +19,17 @@ module Gem2Rpm + super.map {|d| Gem2Rpm::Dependency.new d} + end + ++# a short summary trimmed to 70 characters ++def summary ++ text = super ++ if text.length = 70 ++ text = text[0,70].split(/\s/) ++ text = text[0, text.length-1].join( ) ++ end ++ text = text[0, text.length-1] if text[-1] == '.' ++ text ++end ++ + # List of dependencies that are used for development. + def development_dependencies + super.map {|d| Gem2Rpm::Dependency.new d} Index: gem2rpm-0.8.1/lib/gem2rpm.rb === --- gem2rpm-0.8.1.orig/lib/gem2rpm.rb -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org