- Prevent package from obsoleting itself with matching Provides/Obsoletes.

This commit is contained in:
Jesse Keating 2008-03-17 19:48:12 +00:00
parent f1f62c22df
commit 390ad24961

View File

@ -1,7 +1,7 @@
Summary: A freely licensed alternative to the GLUT library
Name: freeglut
Version: 2.4.0
Release: 13%{?dist}
Release: 14%{?dist}
URL: http://freeglut.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
# For the manpages
@ -17,7 +17,7 @@ BuildRequires: pkgconfig libGLU-devel libXext-devel libXxf86vm-devel
# "glut" package to be removed and replaced with freeglut when upgrading to
# freeglut. Note: This package will NOT co-exist with the glut package.
Provides: glut = 3.7
Obsoletes: glut <= 3.7
Obsoletes: glut < 3.7
%description
freeglut is a completely open source alternative to the OpenGL Utility Toolkit
@ -37,7 +37,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libGL-devel libGLU-devel
Provides: glut-devel = 3.7
Obsoletes: glut-devel <= 3.7
Obsoletes: glut-devel < 3.7
%description devel
Developmental libraries and header files required for developing or compiling
@ -89,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Mar 17 2008 Jesse Keating <jkeating@redhat.com> - 2.4.0-14
- Prevent package from obsoleting itself with matching Provides/Obsoletes.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-13
- Autorebuild for GCC 4.3