Compare commits
No commits in common. "c8-stream-3.6" and "c10s" have entirely different histories.
c8-stream-
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
20
.gitignore
vendored
20
.gitignore
vendored
@ -1 +1,19 @@
|
||||
SOURCES/google-guice-4.2.2.tar.xz
|
||||
/results_*
|
||||
/*.src.rpm
|
||||
|
||||
/guice-2.0-1219.tar.xz
|
||||
/guice-3.0-rc2-src.zip
|
||||
/google-guice-3.1.3.tar.xz
|
||||
/google-guice-3.1.8.tar.xz
|
||||
/google-guice-3.1.9.tar.xz
|
||||
/google-guice-3.1.10.tar.xz
|
||||
/google-guice-3.2.1.tar.xz
|
||||
/google-guice-3.2.2.tar.xz
|
||||
/google-guice-3.2.4.tar.xz
|
||||
/google-guice-3.2.5.tar.xz
|
||||
/google-guice-3.2.6.tar.xz
|
||||
/google-guice-4.0.tar.xz
|
||||
/google-guice-4.1.tar.xz
|
||||
/google-guice-4.2.2.tar.xz
|
||||
/google-guice-4.2.3.tar.xz
|
||||
/google-guice-5.1.0.tar.xz
|
||||
|
@ -1 +0,0 @@
|
||||
b6026a2dca56aae1b1f7ebab2cd28b2d8445c2d8 SOURCES/google-guice-4.2.2.tar.xz
|
@ -2,7 +2,7 @@
|
||||
set -e -x
|
||||
test $# -eq 1
|
||||
test ! -d guice
|
||||
git clone git://github.com/google/guice.git
|
||||
git clone https://github.com/google/guice.git
|
||||
cd ./guice
|
||||
git checkout ${1}
|
||||
git branch unbundled-${1}
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_contexts:
|
||||
- osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}
|
@ -1,31 +1,39 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: google-guice
|
||||
Version: 4.2.2
|
||||
Release: 4%{?dist}
|
||||
Version: 5.1.0
|
||||
Release: 12%{?dist}
|
||||
Summary: Lightweight dependency injection framework for Java 5 and above
|
||||
License: ASL 2.0
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/google/guice
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
# ./create-tarball.sh %%{version}
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: create-tarball.sh
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
BuildRequires: %{?module_prefix}mvn(aopalliance:aopalliance)
|
||||
BuildRequires: mvn(cglib:cglib)
|
||||
BuildRequires: %{?module_prefix}mvn(com.google.guava:guava)
|
||||
BuildRequires: %{?module_prefix}mvn(javax.inject:javax.inject)
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(aopalliance:aopalliance)
|
||||
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
||||
BuildRequires: mvn(com.google.guava:guava)
|
||||
BuildRequires: mvn(javax.inject:javax.inject)
|
||||
BuildRequires: mvn(javax.servlet:servlet-api)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
BuildRequires: mvn(org.sonatype.plugins:munge-maven-plugin)
|
||||
%endif
|
||||
# xmvn-builddep misses this:
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
||||
%endif
|
||||
BuildRequires: jurand
|
||||
|
||||
Obsoletes: guice-multibindings < 5
|
||||
|
||||
%description
|
||||
Put simply, Guice alleviates the need for factories and the use of new
|
||||
@ -88,14 +96,6 @@ Summary: JNDI extension module for Guice
|
||||
Guice is a lightweight dependency injection framework for Java 5
|
||||
and above. This package provides JNDI module for Guice.
|
||||
|
||||
%package -n guice-multibindings
|
||||
Summary: MultiBindings extension module for Guice
|
||||
|
||||
%description -n guice-multibindings
|
||||
Guice is a lightweight dependency injection framework for Java 5
|
||||
and above. This package provides MultiBindings module for Guice.
|
||||
|
||||
|
||||
%package -n guice-servlet
|
||||
Summary: Servlet extension module for Guice
|
||||
|
||||
@ -103,7 +103,6 @@ Summary: Servlet extension module for Guice
|
||||
Guice is a lightweight dependency injection framework for Java 5
|
||||
and above. This package provides Servlet module for Guice.
|
||||
|
||||
|
||||
%package -n guice-throwingproviders
|
||||
Summary: ThrowingProviders extension module for Guice
|
||||
|
||||
@ -118,12 +117,15 @@ Summary: Bill of Materials for Guice
|
||||
Guice is a lightweight dependency injection framework for Java 5
|
||||
and above. This package provides Bill of Materials module for Guice.
|
||||
|
||||
%{?module_package}
|
||||
%{?javadoc_package}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%java_remove_annotations core/src/ \
|
||||
-p ^com.google.common.annotations. \
|
||||
-p ^com.google.errorprone.annotations. \
|
||||
|
||||
# We don't have struts2 in Fedora yet.
|
||||
%pom_disable_module struts2 extensions
|
||||
# Android-specific extension
|
||||
@ -150,37 +152,40 @@ and above. This package provides Bill of Materials module for Guice.
|
||||
# remove test dependency to make sure we don't produce requires
|
||||
# see #1007498
|
||||
%pom_remove_dep :guava-testlib extensions
|
||||
%pom_xpath_remove "pom:dependency[pom:classifier[text()='tests']]" extensions
|
||||
%pom_xpath_remove "pom:dependency[pom:classifier='tests']" extensions
|
||||
|
||||
%pom_remove_parent
|
||||
%pom_set_parent com.google.inject:guice-parent:%{version} jdk8-tests
|
||||
|
||||
%pom_disable_module persist extensions
|
||||
%pom_disable_module spring extensions
|
||||
|
||||
%pom_disable_module jdk8-tests
|
||||
|
||||
# Require a newer compiler
|
||||
%pom_xpath_set "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" "1.8"
|
||||
%pom_xpath_set "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" "1.8"
|
||||
|
||||
%pom_disable_module testlib extensions
|
||||
|
||||
%build
|
||||
%mvn_alias "com.google.inject.extensions:" "org.sonatype.sisu.inject:"
|
||||
#%pom_remove_dep :aopalliance core
|
||||
#%pom_remove_dep :asm core
|
||||
#%pom_remove_dep :cglib core
|
||||
#%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:configuration"
|
||||
#%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions"
|
||||
#%pom_xpath_set "pom:plugin[pom:artifactId='munge-maven-plugin']/pom:executions/pom:execution/pom:phase" generate-sources core
|
||||
#%pom_xpath_set "pom:plugin[pom:artifactId='munge-maven-plugin']/pom:executions/pom:execution/pom:goals/pom:goal" munge core
|
||||
|
||||
%mvn_package :::no_aop: guice
|
||||
#%pom_xpath_inject "pom:dependency[pom:artifactId='guice']" "<scope>provided</scope>" extensions
|
||||
|
||||
%build
|
||||
#%mvn_alias "com.google.inject.extensions:" "org.sonatype.sisu.inject:"
|
||||
|
||||
#%mvn_package :::no_aop: guice
|
||||
#%mvn_package :guice:jar:{}: __noinstall
|
||||
|
||||
%mvn_file ":guice-{*}" guice/guice-@1
|
||||
%mvn_file ":guice" guice/%{name} %{name}
|
||||
%mvn_alias ":guice" "org.sonatype.sisu:sisu-guice"
|
||||
#%mvn_alias ":guice" "org.sonatype.sisu:sisu-guice"
|
||||
# Skip tests because of missing dependency guice-testlib
|
||||
%mvn_build -f -s
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -n %{?module_prefix}%{name} -f .mfiles-guice
|
||||
%files -f .mfiles-guice
|
||||
|
||||
%files -n guice-parent -f .mfiles-guice-parent
|
||||
%license COPYING
|
||||
@ -190,19 +195,105 @@ and above. This package provides Bill of Materials module for Guice.
|
||||
%files -n guice-grapher -f .mfiles-guice-grapher
|
||||
%files -n guice-jmx -f .mfiles-guice-jmx
|
||||
%files -n guice-jndi -f .mfiles-guice-jndi
|
||||
%files -n guice-multibindings -f .mfiles-guice-multibindings
|
||||
%files -n guice-servlet -f .mfiles-guice-servlet
|
||||
%files -n guice-throwingproviders -f .mfiles-guice-throwingproviders
|
||||
|
||||
%files -n guice-bom -f .mfiles-guice-bom
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.1.0-12
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 5.1.0-11
|
||||
- Bump release for Aug 2024 java mass rebuild
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.1.0-10
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Sep 20 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-7
|
||||
- Rebuild to regenerate auto-Requires on java
|
||||
|
||||
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-6
|
||||
- Convert License tag to SPDX format
|
||||
|
||||
* Wed Aug 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-5
|
||||
- Build with Jurand instead of deprecated javapackages-extra
|
||||
|
||||
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-4
|
||||
- Build with default JDK 17
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Mar 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-2
|
||||
- Rebuild with no changes
|
||||
|
||||
* Tue Mar 21 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.0-1
|
||||
- Update to upstream version 5.1.0
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.2.3-8
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.3-5
|
||||
- Bump release
|
||||
|
||||
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.3-2
|
||||
- Bootstrap build
|
||||
- Non-bootstrap build
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Sep 18 2020 Marian Koncek <mkoncek@redhat.com> - 4.2.3-1
|
||||
- Update to upstream version 4.2.3
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 4.2.3-2
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 4.2.3-1
|
||||
- Update to version 4.2.3.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-4
|
||||
- Build with OpenJDK 8
|
||||
|
||||
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-3
|
||||
- Mass rebuild for javapackages-tools 201902
|
||||
|
||||
* Mon Jul 29 2019 Fabio Valentini <decathorpe@gmail.com> - 4.2.2-1
|
||||
- Update to version 4.2.2.
|
||||
- Obsolete guice-testlib.
|
||||
|
||||
* Fri Jul 26 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1-16
|
||||
- Disable support for spring and JPA.
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-2
|
||||
- Mass rebuild for javapackages-tools 201901
|
||||
|
||||
@ -210,6 +301,15 @@ and above. This package provides Bill of Materials module for Guice.
|
||||
- Update to upstream version 4.2.2
|
||||
- Fixes: RHBZ #1563661
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Dec 13 2018 Mat Booth <mat.booth@redhat.com> - 4.1-13
|
||||
- Regenerate OSGi metadata due to ASM 7
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.1-11
|
||||
- Remove legacy Provides
|
||||
|
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: Run javapackages-specific tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/javapackages
|
||||
ref: c10s
|
||||
execute:
|
||||
how: tmt
|
Loading…
Reference in New Issue
Block a user