[perl-OpenGL] Bump version
Lubomir Rintel
lkundrak at fedoraproject.org
Mon Oct 28 08:14:54 UTC 2013
commit 4d9b23b47027175dabe6fb7e552bbf607075cc58
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Mon Oct 28 09:05:59 2013 +0100
Bump version
.gitignore | 1 +
...on-t-check-current-display-for-extensions.patch | 30 ++++++++++++++------
perl-OpenGL.spec | 15 ++++++----
sources | 2 +-
4 files changed, 32 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 692a091..1b0feed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
OpenGL-0.62.tar.gz
/OpenGL-0.66.tar.gz
+/OpenGL-0.6702.tar.gz
diff --git a/perl-OpenGL-0.62-dist.patch b/0001-Don-t-check-current-display-for-extensions.patch
similarity index 63%
rename from perl-OpenGL-0.62-dist.patch
rename to 0001-Don-t-check-current-display-for-extensions.patch
index 6bdc334..a4fa273 100644
--- a/perl-OpenGL-0.62-dist.patch
+++ b/0001-Don-t-check-current-display-for-extensions.patch
@@ -1,9 +1,18 @@
-Don't check current display for extensions, build all.
+From d5b18e9c0986de75a905897205afa2b670b2dec9 Mon Sep 17 00:00:00 2001
+From: Lubomir Rintel <lkundrak at v3.sk>
+Date: Mon, 28 Oct 2013 08:53:54 +0100
+Subject: [PATCH] Don't check current display for extensions
-diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
---- OpenGL-0.62/Makefile.PL.dist 2009-12-11 01:10:00.000000000 +0100
-+++ OpenGL-0.62/Makefile.PL 2010-01-07 13:00:26.000000000 +0100
-@@ -579,9 +579,9 @@ my $build_config =
+Build all.
+---
+ Makefile.PL | 13 +++++++++----
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index efc21c3..200842b 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -596,9 +596,9 @@ my $build_config =
{
FILES =>
"Config.pm ".
@@ -16,15 +25,15 @@ diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
}
};
-@@ -790,6 +790,7 @@ sub get_extensions
+@@ -814,6 +814,7 @@ sub get_extensions
print "GLUT not found\n";
}
+=cut
# Platform-specific makefiles for glversion
my $make_ver;
- if ($IS_MINGW)
-@@ -848,7 +849,9 @@ sub get_extensions
+ if ($IS_STRAWBERRY)
+@@ -876,7 +877,9 @@ sub get_extensions
print "get_extensions: no extensions found in $glv_file\n" if $verbose;
return '';
}
@@ -35,7 +44,7 @@ diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
# Parse glext_procs.h file
return '' if (!open(GLEXT,"glext_procs.h"));
-@@ -867,10 +870,12 @@ sub get_extensions
+@@ -895,10 +898,12 @@ sub get_extensions
# Create gl_exclude.h
die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file"));
@@ -48,3 +57,6 @@ diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
# Fix GLUT flags based on results
if ($gldata->{GLUT} > 0)
+--
+1.8.3.1
+
diff --git a/perl-OpenGL.spec b/perl-OpenGL.spec
index e3fbd1c..d227263 100644
--- a/perl-OpenGL.spec
+++ b/perl-OpenGL.spec
@@ -1,12 +1,12 @@
Name: perl-OpenGL
-Version: 0.66
-Release: 4%{?dist}
+Version: 0.6702
+Release: 1%{?dist}
Summary: Perl OpenGL bindings
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://sourceforge.net/projects/pogl/
-Source0: http://www.cpan.org/authors/id/C/CH/CHM/OpenGL-%{version}.tar.gz
-Patch0: perl-OpenGL-0.62-dist.patch
+Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-%{version}.tar.gz
+Patch0: 0001-Don-t-check-current-display-for-extensions.patch
BuildRequires: freeglut-devel
BuildRequires: mesa-libGL-devel
BuildRequires: libICE-devel
@@ -37,7 +37,7 @@ of the OpenGL 1.0, and 1.1 functions, and most of 1.2.
%prep
%setup -q -n OpenGL-%{version}
-%patch0 -p1 -b .dist
+%patch0 -p1
%build
@@ -69,11 +69,14 @@ make test
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/OpenGL*
%{_mandir}/man3/*
-%doc CHANGES COPYRIGHT GIT_CHANGES KNOWN_PROBLEMS README Release_Notes
+%doc CHANGES COPYRIGHT KNOWN_PROBLEMS README Release_Notes
%doc SUPPORTS TODO demo.pl
%changelog
+* Mon Oct 28 2013 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 0.6702-1
+- Update to a later release
+
* Thu Oct 24 2013 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 0.66-4
- Bulk sad and useless attempt at consistent SPEC file formatting
diff --git a/sources b/sources
index 6d09849..649251d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdfbffb31f03acbfb6d0123ceb159436 OpenGL-0.66.tar.gz
+7c1817a6f846f1621fd0c624fa22b382 OpenGL-0.6702.tar.gz
More information about the scm-commits
mailing list