diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec
index 0246aa3..088d6de 100644
--- a/plexus-classworlds.spec
+++ b/plexus-classworlds.spec
@@ -34,7 +34,7 @@
Name: %{parent}-%{subname}
Version: 2.4
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Plexus Classworlds Classloader Framework
License: ASL 2.0 and Plexus
Group: Development/Libraries
@@ -101,7 +101,8 @@ sed -i 's:ant:org.apache.ant:' pom.xml
true
- *
+ <_nouses>true
+ org.codehaus.classworlds.*;org.codehaus.plexus.classworlds.*
"
@@ -133,6 +134,10 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
+* Tue Aug 7 2012 Stanislav Ochotnicky - 2.4-7
+- Export only proper OSGI packages
+- Do not generate "uses" OSGI clauses
+
* Mon Aug 06 2012 Gerard Ryan - 2.4-6
- Generate OSGI info using maven-plugin-bundle