mockito/fix-bnd-config.patch
Severin Gehwolf 76190e2098 Upstream is missing import-package config.
This has been reported upstream:
http://code.google.com/p/mockito/issues/detail?id=373

Once it's fixed we can eliminate this again.
2012-09-04 15:24:28 +02:00

33 lines
1.3 KiB
Diff

--- conf/mockito-core.bnd.orig 2012-09-04 15:08:36.953346883 +0200
+++ conf/mockito-core.bnd 2012-09-04 15:09:49.221919598 +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.proxy
Private-Package: org.mockito.*
--removeheaders: Private-Package
\ No newline at end of file
+-removeheaders: Private-Package