diff --git a/javapackages-tools.changes b/javapackages-tools.changes index a6bf955..45771e4 100644 --- a/javapackages-tools.changes +++ b/javapackages-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 18 10:44:29 UTC 2015 - tchvatal@suse.com + +- Fix build on SLE11 + ------------------------------------------------------------------- Tue Mar 17 14:39:51 UTC 2015 - tchvatal@suse.com diff --git a/javapackages-tools.spec b/javapackages-tools.spec index 4b7ffc5..e737166 100644 --- a/javapackages-tools.spec +++ b/javapackages-tools.spec @@ -61,6 +61,8 @@ Obsoletes: jpackage-utils <= 1.7.5 BuildRoot: %{_tmppath}/%{name}-%{version}-build # for xsltproc %if 0%{?suse_version} == 1110 +# disable pbc on sle11 as there is clash in directories we don't care about +BuildRequires: -post-build-checks Requires: libxslt %else Requires: libxslt-tools @@ -130,7 +132,9 @@ rm -rf %{buildroot}%{_datadir}/fedora-review/ %fdupes %{buildroot}/%{_prefix} %check +%if 0%{?suse_version} >= 1210 ./check +%endif %files -f files-common %defattr(-,root,root,-)