From 3d1e73f2a81fe3ee1c7db45eb6c5e2223d02f7960d67bc873bfa1b6975a6a004 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 23 Jan 2019 06:19:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xml-commons-apis?expand=0&rev=13 --- xml-commons-apis.spec | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) 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/*