11
0

3 Commits

Author SHA256 Message Date
3bc67bc4bf Add Gitea build results 2025-08-12 18:15:54 +02:00
7a685a09ef 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
0845149666 Accepting request 1297458 from home:dimstar:Factory
- Add fix-build-against-perl-ExtUtils-ParseXS.patch: Fix build
  against perl 5.42 (ExtUtils::ParseXS 3.57)

OBS-URL: https://build.opensuse.org/request/show/1297458
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
4 changed files with 37 additions and 3 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-MusicBrainz-DiscID/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-MusicBrainz-DiscID)

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,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}"