public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-yaml-lint] epel10: Upstream to 0.1.2
Date: Wed, 12 Aug 2026 14:30:09 GMT	[thread overview]
Message-ID: <178654500969.1.11548778952377315853.rpms-rubygem-yaml-lint-d218027665d3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rubygem-yaml-lint
            Branch : epel10
            Commit : d218027665d3ce22ebebe6d9241388b17baa7f24
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2023-04-20T22:57:00+02:00
            Stats  : +43/-17 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rubygem-yaml-lint/c/d218027665d3ce22ebebe6d9241388b17baa7f24?branch=epel10

            Log:
            Upstream to 0.1.2

Include README, LICENSE and tests(and run them) from upstream
Clean up .spec file indentation and alignment

---
diff --git a/.gitignore b/.gitignore
index b1d239d..59cd30e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 /yaml-lint-0.0.10.gem
+/yaml-lint-0.1.2.gem
+/yaml-lint-8dfc583584e046c54617315734883c887768c6ca.tar.gz

diff --git a/rubygem-yaml-lint.spec b/rubygem-yaml-lint.spec
index 0ba95f1..7107c2e 100644
--- a/rubygem-yaml-lint.spec
+++ b/rubygem-yaml-lint.spec
@@ -1,17 +1,21 @@
 # Generated from yaml-lint-0.0.10.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name yaml-lint
-
-Name: rubygem-%{gem_name}
-Version: 0.0.10
-Release: 8%{?dist}
-Summary: Really simple YAML lint
-License: MIT
-URL: https://github.com/Pryz/yaml-lint
-Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# This commit corresponds to the relase in github which is not tagged :-(
+%global commit 8dfc583584e046c54617315734883c887768c6ca
+
+Name:          rubygem-%{gem_name}
+Version:       0.1.2
+Release:       1%{?dist}
+Summary:       Really simple YAML lint
+License:       MIT
+URL:           https://github.com/Pryz/yaml-lint
+Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Source1:       https://github.com/Pryz/yaml-lint/archive/%{commit}/yaml-lint-%{commit}.tar.gz
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
-BuildRequires: ruby
-BuildArch: noarch
+BuildRequires: rubygem(rspec)
+BuildArch:     noarch
+
 
 %description
 Check if your YAML files can be loaded.
@@ -22,20 +26,31 @@ Summary: Documentation for %{name}
 Requires: %{name} = %{version}-%{release}
 BuildArch: noarch
 
+
 %description doc
 Documentation for %{name}.
 
+
 %prep
 %setup -q -n %{gem_name}-%{version}
 
+# unpack only the spec and LICENSE from SOURCE1
+tar zxf %{SOURCE1} --strip-components 1 \
+                   yaml-lint-%{commit}/spec \
+                   yaml-lint-%{commit}/LICENSE \
+                   yaml-lint-%{commit}/README.md \
+
+# Disable Coverals
+sed -i "s/^require 'coveralls'$//" spec/spec_helper.rb
+sed -i "s/^Coveralls.wear!//"      spec/spec_helper.rb
+
+
 %build
-# Create the gem as gem install only works on a gem file
 gem build ../%{gem_name}-%{version}.gemspec
 
-# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
-# by default, so that we can move it into the buildroot in %%install
 %gem_install
 
+
 %install
 mkdir -p %{buildroot}%{gem_dir}
 cp -a .%{gem_dir}/* \
@@ -48,10 +63,10 @@ cp -a .%{_bindir}/* \
 
 find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
 
+
 %check
-pushd .%{gem_instdir}
-# Run the test suite.
-popd
+rspec -I%{gem_instdir} spec
+
 
 %files
 %dir %{gem_instdir}
@@ -60,12 +75,20 @@ popd
 %{gem_libdir}
 %exclude %{gem_cache}
 %{gem_spec}
+%license LICENSE
+%doc README.md
+
 
 %files doc
 %doc %{gem_docdir}
 
 
 %changelog
+* Thu Apr 20 2023 Steve Traylen <steve.traylen@cern.ch> - 0.1.2-1
+- Upstream to 0.1.2
+- Include README, LICENSE and tests(and run them) from upstream
+- Clean up .spec file indentation and alignment
+
 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.10-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
 

diff --git a/sources b/sources
index 47061b6..f2db1c3 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (yaml-lint-0.0.10.gem) = ce1aad5e8f2f1aeac7c19ef887a26074b613d5c8ff975c62b2d060700e536f4a154b473b78af5bbfab277ea6078b8185fc9a0bde1e5937c9ba192e669016337b
+SHA512 (yaml-lint-0.1.2.gem) = a4140d8b454591be80da4734df583d2ff2bfc47ad96ae4f06a796afa113511683527bbef386679927801a48a9453197f450216075bc37fe254fe493bde605e18
+SHA512 (yaml-lint-8dfc583584e046c54617315734883c887768c6ca.tar.gz) = 14d791b14e8ffee142863c30ca67676fc3d4934e58cf332a9ce45a61d72b1d310cf200d081b20c26308981cdeefae6fcd47bae566118084787b1d87040c2dcee

                 reply	other threads:[~2026-08-12 14:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178654500969.1.11548778952377315853.rpms-rubygem-yaml-lint-d218027665d3@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox