diff --git a/libxkbcommon.changes b/libxkbcommon.changes index 2527127..19c027b 100644 --- a/libxkbcommon.changes +++ b/libxkbcommon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 8 06:02:33 UTC 2014 - mlin@suse.com + +- Replace %suse_version >= 1320 to 1315 in order to build -x11 package + for SLE12 + ------------------------------------------------------------------- Fri Apr 4 01:16:43 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/libxkbcommon.spec b/libxkbcommon.spec index f982932..d08ab37 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -38,7 +38,7 @@ BuildRequires: xz BuildRequires: pkgconfig(xkeyboard-config) BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 BuildRequires: pkgconfig(xcb-xkb) >= 1.10 %endif @@ -109,7 +109,7 @@ in %name-x11-0. if [ ! -e configure ]; then NOCONFIGURE=1 ./autogen.sh; fi; -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 extra_opts= %else extra_opts=--disable-x11 @@ -134,19 +134,19 @@ rm -f "%buildroot/%_libdir"/*.la; %files devel %defattr(-,root,root) %_includedir/pkg/ -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 %exclude %_includedir/pkg/%name/xkbcommon/xkbcommon-x11.h %endif %_libdir/libxkbcommon.so %_libdir/pkgconfig/xkbcommon.pc -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 %files -n libxkbcommon-x11-0 %defattr(-,root,root) %_libdir/libxkbcommon-x11.so.* %endif -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 %files x11-devel %defattr(-,root,root) %dir %_includedir/pkg