mockito/fix-bnd-config.patch

31 lines
1.1 KiB
Diff
Raw Normal View History

2015-04-29 16:47:06 +00:00
diff --git a/conf/mockito-core.bnd b/conf/mockito-core.bnd
index bd0ba61..47d07a8 100644
--- a/conf/mockito-core.bnd
+++ b/conf/mockito-core.bnd
@@ -1,13 +1,11 @@
--versionpolicy=[${version;==;${@}},${version;+;${@}})
-
2015-04-29 16:47:06 +00:00
-Bundle-Name= Mockito Mock Library for Java. Core bundle requires Hamcrest-core and Objenesis.
+Bundle-Name= Mockito Mock Library for Java. Core bundle requires Hamcrest-core and Objenesis.
Bundle-SymbolicName= org.mockito.mockito-core
2015-04-29 16:47:06 +00:00
Bundle-Version= ${version}
Export-Package= !org.mockito.asm.*, \
!org.mockito.cglib.*, \
!org.mockito.internal.*, \
- org.mockito.*;version=${version}
+ org.mockito.*
Import-Package= junit.*;resolution:=optional, \
org.junit.*;resolution:=optional, \
2015-04-29 16:47:06 +00:00
@@ -15,7 +13,8 @@ Import-Package= junit.*;resolution:=optional, \
org.hamcrest;version="[1.0,3.0)", \
org.objenesis;version="[2.1,3.0)", \
org.mockito.asm.signature;resolution:=optional, \
- org.mockito.*
+ org.mockito.*, \
+ net.sf.cglib*
Private-Package: org.mockito.*