8
0

2 Commits

Author SHA256 Message Date
f4f24c7605 Accepting request 1298146 from devel:languages:perl
- Add fix-build-against-perl-ExtUtils-ParseXS.patch: Fix build
  against perl 5.42 (ExtUtils::ParseXS 3.57) (forwarded request 1297458 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1298146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MusicBrainz-DiscID?expand=0&rev=3
2025-08-07 14:50:02 +00:00
b1bdc386c4 - Add fix-build-against-perl-ExtUtils-ParseXS.patch: Fix build
against perl 5.42 (ExtUtils::ParseXS 3.57)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MusicBrainz-DiscID?expand=0&rev=7
2025-08-07 12:53:19 +00:00
3 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
Index: MusicBrainz-DiscID-0.06/DiscID.xs
===================================================================
--- MusicBrainz-DiscID-0.06.orig/DiscID.xs
+++ MusicBrainz-DiscID-0.06/DiscID.xs
@@ -113,7 +113,7 @@ discid_get_track_length( disc, track_num
## Provides the TOC of a known CD.
##
int
-discid_put( disc, first_track, sectors, offsets ... )
+discid_put( disc, first_track, sectors, offsets, ... )
DiscId *disc
int first_track
int sectors

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 4 10:20:43 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Add fix-build-against-perl-ExtUtils-ParseXS.patch: Fix build
against perl 5.42 (ExtUtils::ParseXS 3.57)
-------------------------------------------------------------------
Thu Oct 10 12:48:57 UTC 2019 - Tina Mueller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-MusicBrainz-DiscID
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,11 @@ Release: 0
Summary: Perl interface for the MusicBrainz libdiscid library
License: MIT
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NJ/NJH/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM https://github.com/njh/perl-musicbrainz-discid/issues/10
Patch0: fix-build-against-perl-ExtUtils-ParseXS.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -43,7 +45,7 @@ MusicBrainz::DiscID is a class to calculate a MusicBrainz DiscID from an
audio CD in the drive.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -p1 -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"