public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-RDF-TriN3] rawhide: Modernize a spec file
Date: Thu, 15 Oct 2026 11:48:16 GMT [thread overview]
Message-ID: <179206489630.1.4319677088203285442.rpms-perl-RDF-TriN3-23cd9249904c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-RDF-TriN3
Branch : rawhide
Commit : 23cd9249904c6a5a6178c2cfbe5fcb6de75e46d2
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-15T13:47:04+02:00
Stats : +15/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-RDF-TriN3/c/23cd9249904c6a5a6178c2cfbe5fcb6de75e46d2?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-RDF-TriN3.spec b/perl-RDF-TriN3.spec
index fc92ca2..0dc0914 100644
--- a/perl-RDF-TriN3.spec
+++ b/perl-RDF-TriN3.spec
@@ -2,10 +2,9 @@ Name: perl-RDF-TriN3
Version: 0.206
Release: 30%{?dist}
Summary: Notation 3 extensions for RDF::Trine
-# CONTRIBUTING: CC-BY-SA
-# other fiels: GPL+ or Artistic
-# Automatically converted from old format: (GPL+ or Artistic) and CC-BY-SA - review is highly recommended.
-License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Callaway-CC-BY-SA
+# CONTRIBUTING: CC-BY-SA-2.0-UK
+# other fiels: GPL-1.0-or-later OR Artistic-1.0-Perl
+License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC-BY-SA-2.0-UK
URL: https://metacpan.org/release/RDF-TriN3
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/RDF-TriN3-%{version}.tar.gz
# To boostrap this package without bundling
@@ -49,7 +48,6 @@ BuildRequires: perl(Test::More) >= 0.61
BuildRequires: perl(RDF::Trine::Store::DBI::SQLite)
Requires: perl(RDF::Trine) >= 0.135
-
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(RDF::Trine\\)$
@@ -62,25 +60,30 @@ it provides subclass for representing Notation 3 formulae literals.
%patch -P0 -p1
# Remove bundled modules
rm -rf ./inc
-sed -i -e '/^inc\//d' MANIFEST
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
%build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
+export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING COPYRIGHT CREDITS README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/RDF
+%{perl_vendorlib}/RDF/TriN3.pm
+%{perl_vendorlib}/RDF/Trine
+%{perl_vendorlib}/RDF/TrineX
+%{_mandir}/man3/RDF::TriN3.*
+%{_mandir}/man3/RDF::Trine::*
+%{_mandir}/man3/RDF::TrineX::*
%changelog
* Thu Oct 15 2026 Petr Pisar <ppisar@redhat.com> - 0.206-30
reply other threads:[~2026-10-15 11:48 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=179206489630.1.4319677088203285442.rpms-perl-RDF-TriN3-23cd9249904c@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