public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Gtk2-Notify] rawhide: Modernize a spec file
Date: Tue, 13 Oct 2026 13:02:54 GMT	[thread overview]
Message-ID: <179189657448.1.767716410273644584.rpms-perl-Gtk2-Notify-5da8fc386138@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Gtk2-Notify
Branch : rawhide
Commit : 5da8fc38613832f302e913447b236d7529cab023
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-13T15:01:03+02:00
Stats  : +20/-10 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Gtk2-Notify/c/5da8fc38613832f302e913447b236d7529cab023?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/.rpmlint b/.rpmlint
deleted file mode 100644
index 6e8a54b..0000000
--- a/.rpmlint
+++ /dev/null
@@ -1,2 +0,0 @@
-from Config import *
-addFilter("spelling-error .* libnotify");

diff --git a/perl-Gtk2-Notify.rpmlintrc b/perl-Gtk2-Notify.rpmlintrc
new file mode 100644
index 0000000..2e698bc
--- /dev/null
+++ b/perl-Gtk2-Notify.rpmlintrc
@@ -0,0 +1 @@
+addFilter('spelling-error .* libnotify')

diff --git a/perl-Gtk2-Notify.spec b/perl-Gtk2-Notify.spec
index a2baae7..017788b 100644
--- a/perl-Gtk2-Notify.spec
+++ b/perl-Gtk2-Notify.spec
@@ -4,8 +4,12 @@ Name:           perl-Gtk2-Notify
 Version:        0.05
 Release:        62%{?dist}
 Summary:        Perl interface to libnotify
+# lib/Gtk2/Notify.pm:   LGPL-2.0-or-later
+# ppport.h:     GPL-1.0-or-later OR Artistic-1.0-Perl
+## Unbunlded
+# inc/Module/Install:   GPL-1.0-or-later OR Artistic-1.0-Perl
 # Automatically converted from old format: LGPLv2+ - review is highly recommended.
-License:        LicenseRef-Callaway-LGPLv2+
+License:        LGPL-2.0-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
 URL:            https://metacpan.org/release/Gtk2-Notify
 Source0:        https://cpan.metacpan.org/authors/id/F/FL/FLORA/Gtk2-Notify-%{version}.tar.gz
 Patch0:         libnotify.patch
@@ -64,14 +68,14 @@ functionality from within a perl application.
 %patch -P0 -p1
 # Remove bundled module
 rm -r ./inc/*
-sed -i -e '/^inc\//d' MANIFEST
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
+%{make_install}
 find %{buildroot} -type f -name '*.bs' -size 0 -delete
 %{_fixperms} %{buildroot}/*
 
@@ -85,13 +89,20 @@ make test
 
 %files
 %doc Changes examples README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/Gtk2*
-%{_mandir}/man3/*
+%dir %{perl_vendorarch}/auto/Gtk2
+%{perl_vendorarch}/auto/Gtk2/Notify
+%dir %{perl_vendorarch}/Gtk2
+%{perl_vendorarch}/Gtk2/Notify
+%{perl_vendorarch}/Gtk2/Notify.pm
+%{perl_vendorarch}/Gtk2/Notify.pod
+%{_mandir}/man3/Gtk2::Notify.*
+%{_mandir}/man3/Gtk2::Notify::*
 
 %changelog
 * Tue Oct 13 2026 Petr Pisar <ppisar@redhat.com> - 0.05-62
 - Remove build-dependency on unused xorg-x11-xinit
+- Correct a license tag from "LicenseRef-Callaway-LGPLv2+" to
+  "LGPL-2.0-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl)"
 
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-61
 - Perl 5.44 rebuild

                 reply	other threads:[~2026-10-13 13:02 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=179189657448.1.767716410273644584.rpms-perl-Gtk2-Notify-5da8fc386138@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