forked from pool/javapackages-tools
- Fix build on SLE11
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-tools?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
6b4e8cde52
commit
60d6f8746f
@@ -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
|
||||
|
||||
|
@@ -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,-)
|
||||
|
Reference in New Issue
Block a user