diff --git a/cdi-api.spec b/cdi-api.spec index 4269ba4..d49f2c9 100644 --- a/cdi-api.spec +++ b/cdi-api.spec @@ -9,13 +9,13 @@ BuildArch: noarch Source0: https://github.com/cdi-spec/cdi/archive/%{version}.tar.gz BuildRequires: maven-local -BuildRequires: mvn(javax.el:javax.el-api) -BuildRequires: mvn(javax.inject:javax.inject) +BuildRequires: %{?module_prefix}mvn(javax.el:javax.el-api) +BuildRequires: %{?module_prefix}mvn(javax.inject:javax.inject) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.apache.maven.surefire:surefire-testng) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) -BuildRequires: mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec) +BuildRequires: %{?module_prefix}mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec) BuildRequires: mvn(org.jboss.weld:weld-parent:pom:) BuildRequires: mvn(org.testng:testng::jdk15:)