From 7e2422cf247596128e289f605c39b3a67e9fe72b Mon Sep 17 00:00:00 2001
From: tinita <>
Date: Mar 21 2025 19:41:44 +0000
Subject: Update perl-OpenGL to version 0.70 / rev 4 via SR 1254804
https://build.opensuse.org/request/show/1254804
by user tinita + anag+factory
---
diff --git a/.files b/.files
index e817a87..0a5d271 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index e7035f2..8427077 100644
--- a/.rev
+++ b/.rev
@@ -25,4 +25,12 @@ via pre_checkin.sh
1155626
+
+ a91eb666b4f74538fa700714c529cd72
+ 0.70
+
+ anag+factory
+
+ 1254804
+
diff --git a/cpanspec.yml b/cpanspec.yml
index cd9e92f..63a5605 100644
--- a/cpanspec.yml
+++ b/cpanspec.yml
@@ -1,13 +1,12 @@
# http://pkgs.fedoraproject.org/cgit/perl-OpenGL.git/tree/
patches:
0001-Don-t-check-current-display-for-extensions.patch: -p1
- OpenGL-0.6704-Prefer-system-GL-gl.h-on-non-Win32.patch: -p1
- OpenGL-0.6704-Delete-functions-removed-from-Mesa.patch: -p1
preamble: |-
%if 0%{suse_version} >= 1500
BuildRequires: Mesa-dri
%endif
BuildRequires: freeglut-devel
+ BuildRequires: gcc-c++
BuildRequires: xvfb-run
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmu)
diff --git a/perl-OpenGL.changes b/perl-OpenGL.changes
index e9bacef..68a3a05 100644
--- a/perl-OpenGL.changes
+++ b/perl-OpenGL.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Mar 20 17:22:31 UTC 2025 - Tina Müller
+
+- Fix cpanspec.yaml (it had entries that weren't used in the spec, and
+ entries were missing that were used in the spec)
+
+-------------------------------------------------------------------
Mon Mar 4 13:57:05 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
diff --git a/perl-OpenGL.spec b/perl-OpenGL.spec
index a66d88a..cc4af75 100644
--- a/perl-OpenGL.spec
+++ b/perl-OpenGL.spec
@@ -1,7 +1,7 @@
#
# spec file for package perl-OpenGL
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,9 +22,9 @@ Release: 0
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_name OpenGL
Summary: Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/OpenGL/
+URL: http://search.cpan.org/dist/OpenGL/
#Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.70.tar.gz # modified by pre_checkin.sh
Source0: OpenGL-0.70.tar.gz
Source1: cpanspec.yml
@@ -60,6 +60,7 @@ find include -type f \! -name glprocs.h -exec rm {} +
# implementation, let us just ignore them.
sed 's/PERL_DL_NONLAZY=1//' -i Makefile
%{__make} %{?_smp_mflags}
+
%check
xvfb-run -a -s "+extension GLX -screen 0 1280x1024x24" %{__make} test