# Generated by go2rpm %bcond_without check # https://github.com/chaseadamsio/goorgeous %global goipath github.com/chaseadamsio/goorgeous Version: 2.0.0 %gometa %global common_description %{expand: The purpose of this package is to come as close as possible as parsing an *.org document into HTML, the same way one might publish with org-publish-html from Emacs.} %global golicenses LICENSE %global godocs README.org Name: %{goname} Release: 14%{?dist} Summary: Org to HTML Parser written in Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(gopkg.in/russross/blackfriday.v1) BuildRequires: golang(github.com/shurcooL/sanitized_anchor_name) %description %{common_description} %gopkg %prep %goprep # Replace blackfriday import path to avoid conflict with v2 sed -i 's|"github.com/russross/blackfriday|"gopkg.in/russross/blackfriday.v1|' $(find . -name '*.go') # Blackfriday removed the footnotes features. # We need to remove such feature from goorgeous upstream as well # Until then, we skip this feature test sed -i '431s/Errorf/Skipf/' goorgeous_test.go %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 2.0.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 03 19:52:48 CEST 2019 Robert-André Mauchin - 2.0.0-7 - Update to new macros * Tue Feb 26 2019 Robert-André Mauchin - 2.0.0-6 - Fix build against to use old Blackfriday * Tue Feb 26 2019 Elliott Sales de Andrade - 2.0.0-6 - Rewrite spec using new template * Thu Jan 31 2019 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 21 2018 Athos Ribeiro - 2.0.0-3 - Skip failing test due to removed Blackfriday feature * Wed Mar 21 2018 Athos Ribeiro - 2.0.0-2 - Add missing dist macro to Release tag * Tue Feb 13 2018 Athos Ribeiro - 2.0.0-1 - Use repository tags for versioning - Update version * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.git054aba6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.5.git054aba6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.4.git054aba6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Mar 07 2017 Athos Ribeiro - 0-0.3.git054aba6 - Improve Summary - Remove empty conditional * Sat Feb 25 2017 Athos Ribeiro - 0-0.2.git054aba6 - Move test data to the package path * Sat Feb 25 2017 Athos Ribeiro - 0-0.1.git054aba6 - Initial package