diff --git a/libXrandr.spec b/libXrandr.spec index a3c4474..904dd81 100644 --- a/libXrandr.spec +++ b/libXrandr.spec @@ -1,7 +1,7 @@ Summary: X.Org X11 libXrandr runtime library Name: libXrandr Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT/X11 Group: System Environment/Libraries URL: http://www.x.org @@ -11,8 +11,8 @@ Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 Patch0: libXrandr-1.2.0-appease-cee-plus-plus.patch BuildRequires: pkgconfig -# xrandr.pc Requires: xproto randrproto >= 1.2.1 -BuildRequires: xorg-x11-proto-devel >= 7.2 +BuildRequires: xorg-x11-proto-devel +BuildRequires: randrproto >= 1.2.1 BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXrender-devel @@ -28,8 +28,8 @@ Group: Development/Libraries Requires(pre): xorg-x11-filesystem >= 0.99.2-3 Requires: %{name} = %{version}-%{release} -# xrandr.pc Requires: xproto randrproto >= 1.2.1 Requires: xorg-x11-proto-devel +Requires: randrproto >= 1.2.1 Obsoletes: XFree86-devel, xorg-x11-devel @@ -75,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*.3* %changelog +* Thu Apr 12 2007 Adam Jackson 1.2.0-3 +- BuildRequire on the randrproto virtual instead of a magic x-x-p-d version. +- Fix -devel package to require sufficiently new randrproto. + * Wed Feb 28 2007 Adam Jackson 1.2.0-2 - libXrandr-1.2.0-appease-cee-plus-plus.patch: don't use C++ keywords as function argument names.