Accepting request 946192 from Java:packages
2.0 OBS-URL: https://build.opensuse.org/request/show/946192 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-sec-dispatcher?expand=0&rev=3
This commit is contained in:
commit
721884ffd9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76b14426d44a4f53620840c15764b0bed192c57509a376c541ac9262b8e31a01
|
||||
size 6619
|
BIN
plexus-sec-dispatcher-2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
plexus-sec-dispatcher-2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -8,14 +8,14 @@
|
||||
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="project.groupId" value="org.sonatype.plexus"/>
|
||||
<property name="project.groupId" value="org.codehaus.plexus"/>
|
||||
<property name="project.artifactId" value="plexus-sec-dispatcher"/>
|
||||
<property name="project.version" value="1.4"/>
|
||||
<property name="project.url" value="http://spice.sonatype.org/${project.artifactId}"/>
|
||||
<property name="project.version" value="2.0"/>
|
||||
<property name="project.url" value="https://github.com/codehaus-plexus/plexus-sec-dispatcher"/>
|
||||
<property name="project.name" value="Plexus Security Dispatcher Component"/>
|
||||
<property name="project.organization.name" value="Sonatype, Inc."/>
|
||||
|
||||
<property name="compiler.source" value="1.6"/>
|
||||
<property name="compiler.source" value="1.7"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 17:21:04 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to upstream version 2.0
|
||||
* needed for maven 3.8.4
|
||||
* needed for plexus-cipher 2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 5 16:55:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package plexus-sec-dispatcher
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,25 +18,26 @@
|
||||
|
||||
%bcond_with tests
|
||||
Name: plexus-sec-dispatcher
|
||||
Version: 1.4
|
||||
Version: 2.0
|
||||
Release: 0
|
||||
Summary: Plexus Security Dispatcher Component
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/codehaus-plexus/plexus-sec-dispatcher
|
||||
# svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/
|
||||
# tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
URL: https://github.com/codehaus-plexus/%{name}
|
||||
Source0: https://github.com/codehaus-plexus/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
Source100: %{name}-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: atinject
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.7
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: modello
|
||||
BuildRequires: plexus-cipher
|
||||
BuildRequires: plexus-containers-container-default
|
||||
BuildRequires: plexus-metadata-generator
|
||||
BuildRequires: plexus-utils
|
||||
Requires: mvn(javax.inject:javax.inject)
|
||||
Requires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
Requires: mvn(org.sonatype.plexus:plexus-cipher)
|
||||
BuildArch: noarch
|
||||
@ -55,17 +56,18 @@ Group: Documentation/HTML
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
|
||||
cp %{SOURCE1} .
|
||||
cp %{SOURCE100} build.xml
|
||||
|
||||
%pom_remove_parent
|
||||
%pom_change_dep -r -f ::::: :::::
|
||||
%pom_xpath_inject pom:project "<groupId>org.codehaus.plexus</groupId>"
|
||||
%pom_change_dep -r -f ::::: :::::
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib plexus/utils plexus/plexus-cipher plexus-containers/plexus-container-default
|
||||
build-jar-repository -s lib plexus/utils plexus/plexus-cipher plexus-containers/plexus-container-default javax.inject
|
||||
%{ant} \
|
||||
%if %{without tests}
|
||||
-Dtest.skip=true \
|
||||
@ -79,7 +81,7 @@ install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{
|
||||
# pom
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/plexus/%{name}.pom
|
||||
%add_maven_depmap plexus/%{name}.pom plexus/%{name}.jar
|
||||
%add_maven_depmap plexus/%{name}.pom plexus/%{name}.jar -a org.sonatype.plexus:%{name}
|
||||
# javadoc
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
|
||||
|
Loading…
Reference in New Issue
Block a user