Sync from SUSE:SLFO:Main rubygem-builder revision 32a86a19d79c346b26d0ffb2f76154dd

This commit is contained in:
Adrian Schröter 2025-02-06 18:10:03 +01:00
commit efc8a992ff
5 changed files with 267 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
builder-3.3.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

72
gem2rpm.yml Normal file
View File

@ -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
#

110
rubygem-builder.changes Normal file
View File

@ -0,0 +1,110 @@
-------------------------------------------------------------------
Fri Jun 21 09:35:36 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- == 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 <mschnitzer@suse.com>
- 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)

59
rubygem-builder.spec Normal file
View File

@ -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