|
|
|
@ -2,17 +2,16 @@
|
|
|
|
|
|
|
|
|
|
Name: sisu
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 0.3.5
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Version: 0.3.4
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Summary: Eclipse dependency injection framework
|
|
|
|
|
# sisu is EPL-1.0, the bundled asm is BSD
|
|
|
|
|
License: EPL-1.0 AND BSD-3-Clause
|
|
|
|
|
URL: https://eclipse.org/sisu/
|
|
|
|
|
License: EPL-1.0 and BSD
|
|
|
|
|
URL: http://eclipse.org/sisu
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/eclipse/sisu.inject/archive/refs/tags/releases/%{version}.tar.gz#/org.eclipse.sisu.inject-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/eclipse/sisu.plexus/archive/refs/tags/releases/%{version}.tar.gz#/org.eclipse.sisu.plexus-%{version}.tar.gz
|
|
|
|
|
Source0: http://git.eclipse.org/c/sisu/org.eclipse.sisu.inject.git/snapshot/releases/%{version}.tar.gz#/org.eclipse.sisu.inject-%{version}.tar.gz
|
|
|
|
|
Source1: http://git.eclipse.org/c/sisu/org.eclipse.sisu.plexus.git/snapshot/releases/%{version}.tar.gz#/org.eclipse.sisu.plexus-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Source100: sisu-parent.pom
|
|
|
|
|
Source101: sisu-inject.pom
|
|
|
|
@ -23,12 +22,12 @@ Patch2: sisu-ignored-tests.patch
|
|
|
|
|
Patch3: sisu-osgi-api.patch
|
|
|
|
|
Patch4: 0001-Remove-dependency-on-glassfish-servlet-api.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local-openjdk8
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(com.google.inject.extensions:guice-servlet)
|
|
|
|
|
BuildRequires: mvn(com.google.inject:guice)
|
|
|
|
|
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
|
|
|
|
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
|
|
|
|
BuildRequires: mvn(javax.enterprise:cdi-api)
|
|
|
|
|
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
|
@ -41,13 +40,12 @@ BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
|
|
|
BuildRequires: mvn(org.testng:testng)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Provides: %{name}-inject = %{epoch}:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-plexus = %{epoch}:%{version}-%{release}
|
|
|
|
|
Provides: bundled(objectweb-asm)
|
|
|
|
|
|
|
|
|
|
# Remove in Fedora 43
|
|
|
|
|
Obsoletes: plexus-containers < 2.2.0
|
|
|
|
|
Obsoletes: plexus-containers-container-default < 2.2.0
|
|
|
|
|
Obsoletes: %{name}-inject < 1:0.3.4-5
|
|
|
|
|
Obsoletes: %{name}-plexus < 1:0.3.4-5
|
|
|
|
|
Provides: %{name}-inject = %{epoch}:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-plexus = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Java dependency injection framework with backward support for plexus and bean
|
|
|
|
@ -57,17 +55,17 @@ style dependency injection.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
tar xf %{SOURCE0} && mv sisu.inject-releases-* sisu-inject
|
|
|
|
|
tar xf %{SOURCE1} && mv sisu.plexus-releases-* sisu-plexus
|
|
|
|
|
tar xf %{SOURCE0} && mv releases/* sisu-inject && rmdir releases
|
|
|
|
|
tar xf %{SOURCE1} && mv releases/* sisu-plexus && rmdir releases
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE100} pom.xml
|
|
|
|
|
cp %{SOURCE101} sisu-inject/pom.xml
|
|
|
|
|
cp %{SOURCE102} sisu-plexus/pom.xml
|
|
|
|
|
|
|
|
|
|
%patch0
|
|
|
|
|
%patch2
|
|
|
|
|
%patch3
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
%patch -P 0
|
|
|
|
|
%patch -P 2
|
|
|
|
|
%patch -P 3
|
|
|
|
|
%patch -P 4 -p1
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep :servlet-api sisu-inject
|
|
|
|
|
|
|
|
|
@ -76,7 +74,7 @@ cp %{SOURCE102} sisu-plexus/pom.xml
|
|
|
|
|
%mvn_file ":{*}" @1
|
|
|
|
|
%mvn_package ":*{inject,plexus}"
|
|
|
|
|
%mvn_package : __noinstall
|
|
|
|
|
%mvn_alias :org.eclipse.sisu.plexus org.sonatype.sisu:sisu-inject-plexus org.codehaus.plexus:plexus-container-default
|
|
|
|
|
%mvn_alias :org.eclipse.sisu.plexus org.sonatype.sisu:sisu-inject-plexus
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build
|
|
|
|
@ -88,56 +86,24 @@ cp %{SOURCE102} sisu-plexus/pom.xml
|
|
|
|
|
%license sisu-inject/LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:0.3.5-13
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1:0.3.5-13
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:0.3.5-12
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 03 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-11
|
|
|
|
|
- Add plexus-container-default alias
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.5-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 20 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-9
|
|
|
|
|
- Rebuild to regenerate auto-Requires on java
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-8
|
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-7
|
|
|
|
|
- Build with default JDK 17
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Mar 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-5
|
|
|
|
|
- Rebuild with no changes
|
|
|
|
|
|
|
|
|
|
* Tue Mar 21 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-4
|
|
|
|
|
- Port to Google Guice 5
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:0.3.4-12
|
|
|
|
|
- Fix patch usage
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1:0.3.4-11
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Mon May 09 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.5-1
|
|
|
|
|
- Update to upstream version 0.3.5
|
|
|
|
|
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-10
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1:0.3.4-9
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.3.4-9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.4-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-8
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-7
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Tue Jun 01 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.4-6
|
|
|
|
|
- Fix obsoletes on removed subpackages
|
|
|
|
|