public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Gtk2-Notify] rawhide: Modernize a spec file
@ 2026-10-13 13:02 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-13 13:02 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 13:02 [rpms/perl-Gtk2-Notify] rawhide: Modernize a spec file 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox