From 2a36ead59b7599c14eda8d27f569b52f9fe87e96dc60cfa59883a38e75bc9778 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 12 Apr 2019 15:52:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-components-pom?expand=0&rev=2 --- plexus-components-bootstrap-pom.spec | 53 ---------------------------- plexus-components-pom.spec | 5 +-- 2 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 plexus-components-bootstrap-pom.spec diff --git a/plexus-components-bootstrap-pom.spec b/plexus-components-bootstrap-pom.spec deleted file mode 100644 index 85d284f..0000000 --- a/plexus-components-bootstrap-pom.spec +++ /dev/null @@ -1,53 +0,0 @@ -# -# spec file for package plexus-components-bootstrap-pom -# -# Copyright (c) 2018 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 -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via https://bugs.opensuse.org/ -# - - -%global short_name plexus-components -Name: %{short_name}-bootstrap-pom -Version: 1.3.1 -Release: 0 -Summary: Plexus Components POM -License: Apache-2.0 -Group: Development/Libraries/Java -URL: https://github.com/codehaus-plexus/plexus-components -Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom -Source1: http://www.apache.org/licenses/LICENSE-2.0.txt -BuildRequires: javapackages-local -BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) -BuildArch: noarch - -%description -This package provides Plexus Components parent POM used by different -Plexus packages. - -%prep -%setup -qcT -cp -p %{SOURCE0} pom.xml -cp -p %{SOURCE1} LICENSE -%pom_remove_plugin :plexus-component-metadata - -%build - -%install -install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{short_name}.pom -%add_maven_depmap %{name}/%{short_name}.pom - -%files -f .mfiles -%license LICENSE - -%changelog diff --git a/plexus-components-pom.spec b/plexus-components-pom.spec index fe3737d..3f3eb4a 100644 --- a/plexus-components-pom.spec +++ b/plexus-components-pom.spec @@ -1,7 +1,7 @@ # -# spec file for package plexus-components-pom +# spec file for package plexus # -# 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 @@ -27,6 +27,7 @@ URL: https://github.com/codehaus-plexus/plexus-components Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: javapackages-local +BuildRequires: xmvn-resolve BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) Provides: %{short_name}-bootstrap-pom