|
|
|
@ -1,29 +1,24 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: plexus-sec-dispatcher
|
|
|
|
|
Version: 1.4
|
|
|
|
|
Release: 39%{?dist}
|
|
|
|
|
Version: 2.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Plexus Security Dispatcher Component
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://github.com/codehaus-plexus/plexus-sec-dispatcher
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
# Removed maven-compiler-plugin configuration version in the pom as annotations isn't available in version 1.4.
|
|
|
|
|
Patch0: %{name}-pom.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local-openjdk8
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
BuildRequires: javapackages-bootstrap-openjdk8
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local-openjdk8
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
|
|
|
|
BuildRequires: %{?module_prefix}mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
|
BuildRequires: %{?module_prefix}mvn(org.sonatype.plexus:plexus-cipher)
|
|
|
|
|
%endif
|
|
|
|
@ -35,18 +30,20 @@ Plexus Security Dispatcher Component
|
|
|
|
|
%{?javadoc_package}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch -P 0 -p1
|
|
|
|
|
%autosetup -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
|
|
|
|
%pom_remove_parent
|
|
|
|
|
%pom_xpath_inject "pom:dependency[pom:artifactId='junit']" "<scope>test</scope>"
|
|
|
|
|
|
|
|
|
|
%pom_xpath_inject 'pom:project' '<groupId>org.codehaus.plexus</groupId>'
|
|
|
|
|
|
|
|
|
|
%mvn_file : plexus/%{name}
|
|
|
|
|
|
|
|
|
|
%mvn_alias org.codehaus.plexus: org.sonatype.plexus:
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build
|
|
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
@ -55,24 +52,26 @@ cp %{SOURCE1} .
|
|
|
|
|
%license LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.4-39
|
|
|
|
|
- Fix patch usage
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1.4-38
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
* Thu Feb 08 2024 Marián Konček <mkoncek@redhat.com> - 2.0-6
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-37
|
|
|
|
|
* Mon Feb 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0-5
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-36
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.0-3
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-35
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
* Tue Oct 19 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 2.0-1
|
|
|
|
|
- Update to version 2.0
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-34
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-34
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-33
|
|
|
|
|
- Bootstrap build
|
|
|
|
|