forked from pool/perl-MusicBrainz-DiscID
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
f4f24c7605 | |||
b1bdc386c4 |
13
fix-build-against-perl-ExtUtils-ParseXS.patch
Normal file
13
fix-build-against-perl-ExtUtils-ParseXS.patch
Normal 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
|
@@ -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>
|
Thu Oct 10 12:48:57 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-MusicBrainz-DiscID
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,9 +23,11 @@ Release: 0
|
|||||||
Summary: Perl interface for the MusicBrainz libdiscid library
|
Summary: Perl interface for the MusicBrainz libdiscid library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source0: https://cpan.metacpan.org/authors/id/N/NJ/NJH/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
@@ -43,7 +45,7 @@ MusicBrainz::DiscID is a class to calculate a MusicBrainz DiscID from an
|
|||||||
audio CD in the drive.
|
audio CD in the drive.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -p1 -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
Reference in New Issue
Block a user