Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
3bc67bc4bf | |||
7a685a09ef | |||
0845149666 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
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>
|
||||
|
||||
|
@@ -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,12 @@ 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
|
||||
Source100: README.md
|
||||
# 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 +46,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}"
|
||||
|
Reference in New Issue
Block a user