mockito/fix-bnd-config.patch

33 lines
1.3 KiB
Diff
Raw Normal View History

--- conf/mockito-core.bnd.orig 2012-09-06 14:42:08.417103606 +0200
+++ conf/mockito-core.bnd 2012-09-06 14:43:41.391834567 +0200
@@ -1,8 +1,3 @@
--classpath= lib/run/com.springsource.org.junit-4.5.0.jar, \
- lib/run/com.springsource.org.hamcrest.core-1.1.0.jar, \
- lib/run/com.springsource.org.objenesis-1.0.0.jar
--versionpolicy=[${version;==;${@}},${version;+;${@}})
-
Bundle-Name= Mockito Mock Library for Java. Core bundle requires Hamcrest-core and Objenesis.
Bundle-SymbolicName= org.mockito.mockito-core
Bundle-Version= 1.9.0
@@ -10,15 +5,16 @@
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, \
org.apache.tools.ant.*;resolution:=optional, \
org.hamcrest;version="[1.0,2.0)", \
org.objenesis;version="[1.0,2.0)", \
- org.mockito.*
+ org.mockito.*, \
+ net.sf.cglib*
Private-Package: org.mockito.*
--removeheaders: Private-Package
\ No newline at end of file
+-removeheaders: Private-Package