From bfcec9c5921e39a4b0a5b5b20e3e3b584da5e138e62ed449f3fb1a4ce6e7e3d7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 26 Apr 2022 07:52:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/google-guice?expand=0&rev=12 --- google-guice.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/google-guice.spec b/google-guice.spec index 69f8468..2f97d3a 100644 --- a/google-guice.spec +++ b/google-guice.spec @@ -44,6 +44,11 @@ BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-local BuildRequires: objectweb-asm BuildRequires: slf4j +Requires: mvn(aopalliance:aopalliance) +Requires: mvn(cglib:cglib) +Requires: mvn(com.google.guava:guava) +Requires: mvn(javax.inject:javax.inject) +Requires: mvn(org.ow2.asm:asm) BuildArch: noarch %description @@ -66,6 +71,7 @@ and above. This package provides parent POM for Guice modules. %package -n %{short_name}-assistedinject Summary: AssistedInject extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-assistedinject Guice is a dependency injection framework for Java 5 @@ -74,6 +80,7 @@ and above. This package provides AssistedInject module for Guice. %package -n %{short_name}-extensions Summary: Extensions for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice-parent:pom:) = %{version} %description -n %{short_name}-extensions Guice is a dependency injection framework for Java 5 @@ -82,6 +89,9 @@ and above. This package provides extensions POM for Guice. %package -n %{short_name}-grapher Summary: Grapher extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject.extensions:guice-assistedinject) = %{version} +Requires: mvn(com.google.inject.extensions:guice-multibindings) = %{version} +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-grapher Guice is a dependency injection framework for Java 5 @@ -90,6 +100,7 @@ and above. This package provides Grapher module for Guice. %package -n %{short_name}-jmx Summary: JMX extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-jmx Guice is a dependency injection framework for Java 5 @@ -98,6 +109,7 @@ and above. This package provides JMX module for Guice. %package -n %{short_name}-jndi Summary: JNDI extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-jndi Guice is a dependency injection framework for Java 5 @@ -106,6 +118,7 @@ and above. This package provides JNDI module for Guice. %package -n %{short_name}-multibindings Summary: MultiBindings extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-multibindings Guice is a dependency injection framework for Java 5 @@ -114,6 +127,7 @@ and above. This package provides MultiBindings module for Guice. %package -n %{short_name}-servlet Summary: Servlet extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-servlet Guice is a dependency injection framework for Java 5 @@ -122,6 +136,7 @@ and above. This package provides Servlet module for Guice. %package -n %{short_name}-testlib Summary: TestLib extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-testlib Guice is a dependency injection framework for Java 5 @@ -130,6 +145,7 @@ and above. This package provides TestLib module for Guice. %package -n %{short_name}-throwingproviders Summary: ThrowingProviders extension module for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice) = %{version} %description -n %{short_name}-throwingproviders Guice is a dependency injection framework for Java 5 @@ -138,6 +154,7 @@ and above. This package provides ThrowingProviders module for Guice. %package -n %{short_name}-bom Summary: Bill of Materials for Guice Group: Development/Libraries/Java +Requires: mvn(com.google.inject:guice-parent:pom:) = %{version} %description -n %{short_name}-bom Guice is a dependency injection framework for Java 5