diff --git a/xml-commons-apis.spec b/xml-commons-apis.spec index af4466d..9398ff8 100644 --- a/xml-commons-apis.spec +++ b/xml-commons-apis.spec @@ -1,7 +1,7 @@ # # spec file for package xml-commons-apis # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -39,17 +39,17 @@ BuildRequires: javapackages-local BuildRequires: xz Requires: apache-parent Conflicts: xml-commons-apis-bootstrap -Provides: xml-commons-jaxp-1.4-apis -Provides: xml-commons-jaxp-1.3-apis -Provides: xml-commons-jaxp-1.2-apis -Provides: xml-commons-jaxp-1.1-apis Provides: xerces-j2-xml-apis Provides: xml-apis = %{name}-%{release} -Obsoletes: xml-commons-jaxp-1.4-apis -Obsoletes: xml-commons-jaxp-1.3-apis -Obsoletes: xml-commons-jaxp-1.2-apis -Obsoletes: xml-commons-jaxp-1.1-apis +Provides: xml-commons-jaxp-1.1-apis +Provides: xml-commons-jaxp-1.2-apis +Provides: xml-commons-jaxp-1.3-apis +Provides: xml-commons-jaxp-1.4-apis Obsoletes: xerces-j2-xml-apis +Obsoletes: xml-commons-jaxp-1.1-apis +Obsoletes: xml-commons-jaxp-1.2-apis +Obsoletes: xml-commons-jaxp-1.3-apis +Obsoletes: xml-commons-jaxp-1.4-apis BuildArch: noarch %description @@ -129,16 +129,10 @@ cp -a build/docs/javadoc/* %{buildroot}%{_javadocdir}/%{name} rm -rf build/docs/javadoc %fdupes -s build/docs/ -%files +%files -f .mfiles %license LICENSE LICENSE.dom-documentation.txt LICENSE.dom-software.txt LICENSE.sac.html LICENSE.sax.txt %doc NOTICE README.dom.txt README-sax README.sax.txt %{_javadir}/* -%{_mavenpomdir}/* -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name} -%else -%{_datadir}/maven-metadata/%{name}.xml* -%endif %files manual %doc build/docs/*