public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-yaml-lint] epel10: First package #1784066
@ 2026-08-12 14:30 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-08-12 14:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rubygem-yaml-lint
Branch : epel10
Commit : 857eab71c61362fc1fa7565472f3e92b7a1db77a
Author : Steve Traylen <steve.traylen@cern.ch>
Date   : 2020-01-07T09:46:14+01:00
Stats  : +72/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rubygem-yaml-lint/c/857eab71c61362fc1fa7565472f3e92b7a1db77a?branch=epel10

Log:
First package #1784066

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b1d239d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/yaml-lint-0.0.10.gem

diff --git a/rubygem-yaml-lint.spec b/rubygem-yaml-lint.spec
new file mode 100644
index 0000000..26e83f0
--- /dev/null
+++ b/rubygem-yaml-lint.spec
@@ -0,0 +1,70 @@
+# 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: 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
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Check if your YAML files can be loaded.
+
+
+%package doc
+Summary: Documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%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}/* \
+        %{buildroot}%{gem_dir}/
+
+
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{_bindir}/* \
+        %{buildroot}%{_bindir}/
+
+find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
+
+%check
+pushd .%{gem_instdir}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%{_bindir}/yaml-lint
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+
+%changelog
+* Mon Dec 16 2019 Steve Traylen <steve.traylen@cern.ch> - 0.0.10-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..47061b6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (yaml-lint-0.0.10.gem) = ce1aad5e8f2f1aeac7c19ef887a26074b613d5c8ff975c62b2d060700e536f4a154b473b78af5bbfab277ea6078b8185fc9a0bde1e5937c9ba192e669016337b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-12 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 14:30 [rpms/rubygem-yaml-lint] epel10: First package #1784066 Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox