Compare commits

...

No commits in common. "c10s" and "c9s" have entirely different histories.
c10s ... c9s

7 changed files with 24 additions and 60 deletions

View File

@ -1 +0,0 @@
1

2
.gitignore vendored
View File

@ -1,3 +1 @@
/ronn-ng-0.9.1.gem /ronn-ng-0.9.1.gem
/ronn-ng-0.10.1-test.tar.gz
/ronn-ng-0.10.1.gem

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

View File

@ -1,6 +1,8 @@
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-* - rhel-9
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}

View File

@ -1,10 +0,0 @@
summary: Internal Tier1 beakerlib tests
discover:
how: fmf
url: https://gitlab.com/redhat/rhel/tests/rubygem-ronn-ng
filter: "tier:1"
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-10

View File

@ -2,20 +2,16 @@
%global gem_name ronn-ng %global gem_name ronn-ng
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.10.1 Version: 0.9.1
Release: 4%{?dist} Release: 4%{?dist}
Summary: Builds man pages from Markdown Summary: Builds man pages from Markdown
License: MIT License: MIT
URL: https://github.com/apjanke/ronn-ng URL: https://github.com/apjanke/ronn-ng
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/apjanke/ronn-ng.git && cd ronn-ng
# git archive -v -o ronn-ng-0.10.1-test.tar.gz v0.10.1 test/
Source1: %{gem_name}-%{version}-test.tar.gz
BuildRequires: ruby(release) BuildRequires: ruby(release)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
BuildRequires: ruby BuildRequires: ruby
BuildRequires: rubygem(kramdown) BuildRequires: rubygem(kramdown)
BuildRequires: rubygem(kramdown-parser-gfm)
BuildRequires: rubygem(mustache) BuildRequires: rubygem(mustache)
BuildRequires: rubygem(nokogiri) BuildRequires: rubygem(nokogiri)
BuildRequires: rubygem(test-unit) BuildRequires: rubygem(test-unit)
@ -26,7 +22,7 @@ Provides: rubygem-ronn = %{version}-%{release}
Obsoletes: rubygem-ronn < 0.7.3-20 Obsoletes: rubygem-ronn < 0.7.3-20
%description %description
Ronn-NG builds manuals in HTML and Unix man page format from Markdown. Ronn builds manuals in HTML and Unix man page format from Markdown.
The source format includes all of Markdown but has a more rigid structure and The source format includes all of Markdown but has a more rigid structure and
syntax extensions for features commonly found in man pages (definition lists, syntax extensions for features commonly found in man pages (definition lists,
@ -42,7 +38,13 @@ BuildArch: noarch
Documentation for %{name}. Documentation for %{name}.
%prep %prep
%setup -q -n %{gem_name}-%{version} -b 1 %setup -q -n %{gem_name}-%{version}
# Upstream specifies mustache==0.7, but we have 1.1 and it seems to work fine...
%gemspec_remove_dep -g mustache "~> 0.7"
# TODO: file upstream
chmod -x lib/ronn.rb
%build %build
# Create the gem as gem install only works on a gem file # Create the gem as gem install only works on a gem file
@ -74,20 +76,19 @@ install -Dt %{buildroot}/usr/share/zsh/site-functions/ -m 0644 %{buildroot}%{gem
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
cp -a %{_builddir}/test test ruby -Ilib:test -e 'Dir.glob "./test/test_*.rb", &method(:require)'
ruby -Itest -e 'Dir.glob "./test/test_*.rb", &method(:require)'
popd popd
%files %files
%dir %{gem_instdir} %dir %{gem_instdir}
%{_bindir}/ronn %{_bindir}/ronn
%{gem_instdir}/CHANGES
%{gem_instdir}/INSTALLING.md %{gem_instdir}/INSTALLING.md
%license %{gem_instdir}/LICENSE.txt %license %{gem_instdir}/LICENSE.txt
%{gem_instdir}/bin %{gem_instdir}/bin
%exclude %{gem_instdir}/completion
%{gem_instdir}/config.ru %{gem_instdir}/config.ru
%{gem_libdir} %{gem_libdir}
%exclude %{gem_instdir}/completion
%exclude %{gem_instdir}/man %exclude %{gem_instdir}/man
%exclude %{gem_cache} %exclude %{gem_cache}
%{gem_spec} %{gem_spec}
@ -100,43 +101,19 @@ popd
%files doc %files doc
%doc %{gem_docdir} %doc %{gem_docdir}
%doc %{gem_instdir}/AUTHORS %doc %{gem_instdir}/AUTHORS
%doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile %{gem_instdir}/Rakefile
%{gem_instdir}/ronn-ng.gemspec %{gem_instdir}/ronn-ng.gemspec
%{gem_instdir}/test
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-4 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-4
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-3 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-3
- Bump release for June 2024 mass rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 08 2024 Vít Ondruch <vondruch@redhat.com> - 0.10.1-1
- Update to Ronn-NG 0.10.1
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 08 2022 Vít Ondruch <vondruch@redhat.com> - 0.9.1-6
- Fix FTBFS due to Ruby 3.1 / Psych 4.0 test incompatibility.
Resolves: rhbz#2113704
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,2 +1 @@
SHA512 (ronn-ng-0.10.1-test.tar.gz) = 6578ea7d0ae2bcd3a48ae7048365c3bed630896b04fba582c7a7be136c4e74371c8d01539d29edfe1921625474bceb2f7d6bef54e554b8afdd6f1f8a8da7ee59 SHA512 (ronn-ng-0.9.1.gem) = 5ad7dc426d9bc77bca86fbb06775a3b19f1b8d79f5a4331d117e9fa394e7a9c3b0440b70b993672d77a24f56f5da3ebd0e41a5183f4330707b7ddb83c9108bdf
SHA512 (ronn-ng-0.10.1.gem) = cda3689bbd5e997fcc49fe0c7b1732f1af13bc27245e1e008f5305339964273128f7cb6a12422c5e46cfe718ac8853bafc2796cd4740e4b03911a748807092c6