diff --git a/apache-pdfbox.changes b/apache-pdfbox.changes index 3f53507..1f5946c 100644 --- a/apache-pdfbox.changes +++ b/apache-pdfbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 6 10:06:14 UTC 2017 - sknorr@suse.com + +- Switch between maven-metadata/maven-fragments as appropriate + for SLE/openSUSE (FATE#322405) + ------------------------------------------------------------------- Thu Jun 16 08:43:53 UTC 2016 - fvogt@suse.com diff --git a/apache-pdfbox.spec b/apache-pdfbox.spec index afef889..a5a8113 100644 --- a/apache-pdfbox.spec +++ b/apache-pdfbox.spec @@ -1,7 +1,7 @@ # # spec file for package apache-pdfbox # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -107,6 +107,10 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} %{_javadir}/jempbox.jar %{_mavenpomdir}/JPP-fontbox.pom %{_mavenpomdir}/JPP-jempbox.pom -%{_datadir}/maven-metadata/%{name}.xml +%if %suse_version >= 1330 +%{_datadir}/maven-metadata/%{name}.xml* +%else +%{_mavendepmapfragdir}/%{name} +%endif %changelog