69 строки
2.2 KiB
Plaintext
69 строки
2.2 KiB
Plaintext
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
#
|
|
# spec file for package apache-parent
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: apache-parent
|
|
Version: 21
|
|
Release: 2%{?dist}
|
|
Summary: Parent POM file for Apache projects
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/Java
|
|
URL: http://apache.org/
|
|
Source0: http://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
|
|
BuildRequires: javapackages-local-bootstrap
|
|
BuildRequires: unzip
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package contains the parent pom file for apache projects.
|
|
|
|
%prep
|
|
%setup -q -n apache-%{version}
|
|
|
|
%pom_remove_plugin :maven-site-plugin
|
|
%pom_remove_plugin :maven-remote-resources-plugin
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
%install
|
|
# pom
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
|
%add_maven_depmap %{name}.pom
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc NOTICE
|
|
%{_mavenpomdir}/*
|
|
%if %{defined _maven_repository}
|
|
%{_mavendepmapfragdir}/%{name}
|
|
%else
|
|
%{_datadir}/maven-metadata/%{name}.xml*
|
|
%endif
|
|
|
|
%changelog
|
|
* Thu Oct 14 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 21-2
|
|
- Converting the 'Release' tag to the '[number].[distribution]' format.
|
|
|
|
* Tue Nov 17 2020 Ruying Chen <v-ruyche@microsoft.com> - 21-1.7
|
|
- Initial CBL-Mariner import from openSUSE Tumbleweed (license: same as "License" tag).
|
|
- Use javapackages-local-bootstrap to avoid build cycle.
|
|
|
|
* Tue Oct 23 2018 Fridrich Strba <fstrba@suse.com>
|
|
- Initial packaging of apache-parent
|