public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/d2] rawhide: Update to 0.8.2 + spec cleanup and fixes
Date: Mon, 31 Aug 2026 23:39:46 GMT	[thread overview]
Message-ID: <178821958668.1.13585374016872951966.rpms-d2-1c0f7bd10daf@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/d2
            Branch : rawhide
            Commit : 1c0f7bd10dafdaf515f4ac6c348516e9e48dcf23
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-24T18:19:55-03:00
            Stats  : +13/-14 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/d2/c/1c0f7bd10dafdaf515f4ac6c348516e9e48dcf23?branch=rawhide

            Log:
            Update to 0.8.2 + spec cleanup and fixes

Set other global tags to resolve ambiguous GitHub refs (due to upstream having
both a branch and a tag named v0.8.2).

Updated SPDX License

Re-enabled unit tests previously disabled leaving only e2etests-cli excluded (as
it requires network/browser access).

Remove license tag from files since go_vendor_license_filelist alread pack it.

Removed unused freetype license definition (freetype is no longer vendored).

Added exclude_files to avoid duplicate license file tracking for upstreams
release template symlink.

---
diff --git a/d2.spec b/d2.spec
index 401192e..f1f340e 100644
--- a/d2.spec
+++ b/d2.spec
@@ -4,7 +4,12 @@
 # https://github.com/d2lang/d2
 %global goipath         github.com/d2lang/d2
 %global forgeurl        https://github.com/d2lang/d2
-Version:                0.8.1
+Version:                0.8.2
+
+%global tag             refs/tags/v%{version}
+%global extractdir      %{name}-%{version}
+%global archivename     %{name}-%{version}
+%global distprefix      %{nil}
 
 %gometa -L -f
 
@@ -16,7 +21,7 @@ Release:        %autorelease
 Summary:        Modern diagram scripting language that turns text to diagrams
 
 # Generated by go-vendor-tools
-License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND FTL AND ISC AND MIT AND MPL-2.0
+License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND EPL-2.0 AND ISC AND MIT AND MPL-2.0 AND OFL-1.1
 URL:            %{gourl}
 Source0:        %{gosource}
 # Generated by go-vendor-tools
@@ -50,16 +55,11 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 ci/release/template/man/d2.1
 %check
 %go_vendor_license_check -c %{S:2}
 %if %{with check}
-# Disable d2cli as it fails with:
-# ./play.go:63:32: non-constant format string in call to oss.terrastruct.com/d2/vendor/oss.terrastruct.com/util-go/xmain.UsageErrorf
 # Disable e2e tests as they require Internet access
-# This is too coarse, we should only disable tests that trigger playwright
-# installation (i.e. those converting to png)
-%gocheck -t github.com/d2lang/d2/d2cli -t e2etests-cli -t github.com/d2lang/d2/d2compiler -t github.com/d2lang/d2/d2exporter -t github.com/d2lang/d2/d2oracle -t github.com/d2lang/d2/d2renderers/d2sketch -t github.com/d2lang/d2/d2renderers/d2svg/appendix -t github.com/d2lang/d2/lib/urlenc
+%gocheck -t e2etests-cli
 %endif
 
 %files -f %{go_vendor_license_filelist}
-%license vendor/modules.txt
 %doc docs README.md
 %{_bindir}/d2
 %{_mandir}/man1/d2.1*

diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
index ea66d86..b00b6c0 100644
--- a/go-vendor-tools.toml
+++ b/go-vendor-tools.toml
@@ -2,10 +2,9 @@
 
 [licensing]
 detector = "askalono"
-[[licensing.licenses]]
-path = "vendor/github.com/golang/freetype/LICENSE"
-sha256sum = "d3ba056adc2b7909e95681deaae397fb37c97ed491a920f491214f07b62c41d0"
-expression = "FTL"
+exclude_files = [
+    "ci/release/template/LICENSE.txt",
+]
 
 [[licensing.licenses]]
 path = "vendor/gopkg.in/yaml.v3/LICENSE"

diff --git a/sources b/sources
index 417b432..de4b9e8 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (d2-0.8.1.tar.gz) = 908c9f82be4c4d545462690702e65ef6c307bdfd4df618731ea549efc27bf28b5d9fe0f8f1c23d9ec2f40b82b46bb781117a3ffe4506aadc6d25cc1ea588fbde
-SHA512 (d2-0.8.1-vendor.tar.bz2) = 9e1ba748a849cf7e36fb4ff931ad9b5a7b1b447903928dbbefa8de6a8ca752f82be5cc5a058192e1a0848d006ad27aad6bc1703b88f01e95fb659babe2148865
+SHA512 (d2-0.8.2.tar.gz) = 3650c5b1a8f62e52ac0e964fd2db584718a7942f4e7a426e3241242feed783dfb6e36f918da38b07d26793801480279d6751a03f54a77cb291a7d65b84fc8f8c
+SHA512 (d2-0.8.2-vendor.tar.bz2) = 4b7bc779047e018daa2f5c90bd3d07f2bbded8f9a916c9645748564321cc71b4d2d801496801053b3b5906ac1f2e542c6eef7d3d3362f16add6239b3abd9925f

                 reply	other threads:[~2026-08-31 23:39 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=178821958668.1.13585374016872951966.rpms-d2-1c0f7bd10daf@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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