public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-File-Unpack2] rawhide: update packit.yaml and spec file to use version tag instead of commit
Date: Sun, 25 Oct 2026 09:24:52 GMT [thread overview]
Message-ID: <179292029255.1.15664445203408616621.rpms-perl-File-Unpack2-ead603cd06fa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-File-Unpack2
Branch : rawhide
Commit : ead603cd06fa8a243ad9a62883189e19b5e49fb2
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-10-25T10:13:55+01:00
Stats : +9/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-File-Unpack2/c/ead603cd06fa8a243ad9a62883189e19b5e49fb2?branch=rawhide
Log:
update packit.yaml and spec file to use version tag instead of commit
---
diff --git a/.packit.yaml b/.packit.yaml
index b4e436c..6acddea 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -12,6 +12,9 @@ jobs:
trigger: release
dist_git_branches:
- rawhide
+ actions:
+ create-archive:
+ - bash -c "set -ex; VER=$PACKIT_PROJECT_VERSION; NAME=perl-File-Unpack2; wget https://github.com/openSUSE/perl-File-Unpack2/archive/v${VER}/${NAME}-${VER}.tar.gz; tar axf ${NAME}-${VER}.tar.gz; rm -rf ${NAME}-${VER}/t; tar caf ${NAME}-${VER}-repackaged.tar.gz ${NAME}-${VER}; echo ${NAME}-${VER}-repackaged.tar.gz"
- job: koji_build
trigger: commit
allowed_committers:
diff --git a/perl-File-Unpack2.spec b/perl-File-Unpack2.spec
index 70e0a8a..0e37947 100644
--- a/perl-File-Unpack2.spec
+++ b/perl-File-Unpack2.spec
@@ -1,6 +1,3 @@
-%global commit 4bcdc19ca9a2a5b9817e3e501d0018b58bf577d0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
Name: perl-File-Unpack2
Version: 2.0
Release: %autorelease
@@ -14,11 +11,11 @@ Summary: Strong archive file unpacker, based on mime-types
# README: GPL-1.0-or-later OR Artistic-1.0-Perl
# Unpack2.pm: GPL-1.0-or-later OR Artistic-1.0-Perl
License: (MIT OR GPL-1.0-or-later) AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
-# wget https://github.com/openSUSE/perl-File-Unpack2/archive/%%{commit}/%%{name}-%%{shortcommit}.tar.gz
-# tar axf %%{name}-%%{shortcommit}.tar.gz
-# rm -rf perl-File-Unpack2-%%{commit}/t
-# tar caf %%{name}-%%{shortcommit}-repackaged.tar.gz perl-File-Unpack2-%%{commit}
-Source: %{name}-%{shortcommit}-repackaged.tar.gz
+# wget https://github.com/openSUSE/perl-File-Unpack2/archive/v%%{version}/%%{name}-%%{version}.tar.gz
+# tar axf %%{name}-%%{version}.tar.gz
+# rm -rf %%{name}-%%{version}/t
+# tar caf %%{name}-%%{version}-repackaged.tar.gz %%{name}-%%{version}
+Source: %{name}-%{version}-repackaged.tar.gz
URL: https://github.com/openSUSE/perl-File-Unpack2
BuildRequires: perl-generators
@@ -134,7 +131,7 @@ License: MIT OR GPL-1.0-or-later OR (GPL-1.0-or-later OR Artistic-1.0-Per
ships with the File::Unpack perl module.
%prep
-%autosetup -n %{name}-%{commit}
+%autosetup -n %{name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
reply other threads:[~2026-10-25 9:24 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=179292029255.1.15664445203408616621.rpms-perl-File-Unpack2-ead603cd06fa@fedoraproject.org \
--to=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