commit efc8a992fff54d469dd2ee1b79cdb26ca241b5502674b5ad366ce9972a4bcd59 Author: Adrian Schröter Date: Thu Feb 6 18:10:03 2025 +0100 Sync from SUSE:SLFO:Main rubygem-builder revision 32a86a19d79c346b26d0ffb2f76154dd diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/builder-3.3.0.gem b/builder-3.3.0.gem new file mode 100644 index 0000000..7ea6e09 --- /dev/null +++ b/builder-3.3.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f +size 30208 diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..d182d92 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,72 @@ +# --- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# :post_patch: +# if you need to fiddle with the source dir before rebuilding the gem +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom_pkgs: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# diff --git a/rubygem-builder.changes b/rubygem-builder.changes new file mode 100644 index 0000000..929c002 --- /dev/null +++ b/rubygem-builder.changes @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +Fri Jun 21 09:35:36 UTC 2024 - Dan Čermák + +- == Version 3.3.0 (2024-06-06) + +* Fix broken call to `File.exists?` in `tags.rake`. +* Use BasicObject instead of BlankSlate for better compatibility with modern rubies. + +== Version 3.2.4 (2019-12-10) + +* Strings were frozen by adding `# frozen_string_literal: true` to all files + + +------------------------------------------------------------------- +Sat Dec 14 00:42:45 UTC 2019 - Manuel Schnitzer + +- updated to version 3.2.4 + + * no changelog found + +------------------------------------------------------------------- +Sat Jan 14 05:28:38 UTC 2017 - coolo@suse.com + +- updated to version 3.2.3 + see installed CHANGES + +------------------------------------------------------------------- +Mon Nov 10 10:29:44 UTC 2014 - tboerger@suse.com + +- Added new ruby macros +- Removed symlink-binaries through gem2rpm conversion + +------------------------------------------------------------------- +Sun Oct 12 09:40:11 UTC 2014 - adrian@suse.de + +- adapt to new rubygem packaging style + +------------------------------------------------------------------- +Thu Jun 6 06:03:04 UTC 2013 - coolo@suse.com + +- updated to version 3.2.2 + +------------------------------------------------------------------- +Fri May 31 07:18:41 UTC 2013 - coolo@suse.com + +- updated to version 3.2.1 + * Ruby 2.0 compatibility changes. + * Allow single quoted attributes. + +------------------------------------------------------------------- +Sun Mar 3 09:32:57 UTC 2013 - coolo@suse.com + +- updated to version 3.2.0 + +------------------------------------------------------------------- +Fri Oct 26 15:56:26 UTC 2012 - coolo@suse.com + +- updated to version 3.1.4 + * just a small test fix + +------------------------------------------------------------------- +Mon Sep 10 13:03:39 UTC 2012 - coolo@suse.com + +- updated to version 3.1.3 + * suppress warning while undefining object_id + +------------------------------------------------------------------- +Fri Sep 7 09:19:15 UTC 2012 - coolo@suse.com + +- updated to version 3.1.2 + * only changelog available: + https://github.com/jimweirich/builder/commits/builder-3.1.2/ + +------------------------------------------------------------------- +Thu Sep 6 08:58:26 UTC 2012 - coolo@suse.com + +- update to 3.1 (no longer suffix) + * Included the to_xs arity patch needed for weird Rails compatibility + issue. + * Escaping newlines in attributes now. + * Allow method caching + * Ruby 1.9 compatiblity issues. + +------------------------------------------------------------------- +Mon Aug 6 11:02:11 UTC 2012 - coolo@suse.com + +- buildrequire rdoc + +------------------------------------------------------------------- +Sat Jul 28 05:57:54 UTC 2012 - coolo@suse.com + +- update to latest gem2rpm + +------------------------------------------------------------------- +Fri Mar 23 11:07:45 UTC 2012 - saschpe@suse.de + +- Spec file cleanup: + * Factory preparation + +------------------------------------------------------------------- +Wed Dec 14 18:00:09 UTC 2011 - jreidinger@suse.com + +- decrease significantly size of package ( remove useless xctags + file which has almsot 3MB) + +------------------------------------------------------------------- +Mon Jun 20 19:18:51 UTC 2011 - mrueckert@suse.de + +- initial package for the 3.0 branch (3.0.0) + diff --git a/rubygem-builder.spec b/rubygem-builder.spec new file mode 100644 index 0000000..faf7966 --- /dev/null +++ b/rubygem-builder.spec @@ -0,0 +1,59 @@ +# +# spec file for package rubygem-builder +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + +Name: rubygem-builder +Version: 3.3.0 +Release: 0 +%define mod_name builder +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +URL: https://github.com/rails/builder +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Builders for MarkUp +License: MIT + +%description +Builder provides a number of builder objects that make creating structured +data +simple to do. Currently the following builder objects are supported: +* XML Markup +* XML Events. + +%prep + +%build + +%install +%gem_install \ + --doc-files="CHANGES MIT-LICENSE README.md" \ + -f + +%gem_packages + +%changelog