[httpcomponents-core] - Explicitly set PrivatePackage to the empty set, so as to export all packages.

jerboaa jerboaa at fedoraproject.org
Tue Mar 15 14:33:24 UTC 2011


commit 3df720872d91461ab9fa3fb45ee70133f3aae481
Author: Severin Gehwolf <sgehwolf at redhat.com>
Date:   Tue Mar 15 10:31:03 2011 -0400

    - Explicitly set PrivatePackage to the empty set, so as to
      export all packages.

 httpcomponents-core.spec |    6 +++++-
 osgify.patch             |    3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec
index 71a5baa..b4bc40a 100644
--- a/httpcomponents-core.spec
+++ b/httpcomponents-core.spec
@@ -3,7 +3,7 @@
 Name:              httpcomponents-core
 Summary:           Set of low level Java HTTP transport components for HTTP services
 Version:           4.1
-Release:           5%{?dist}
+Release:           6%{?dist}
 Group:             Development/Libraries
 License:           ASL 2.0
 URL:               http://hc.apache.org/
@@ -97,6 +97,10 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
 %doc %{_javadocdir}/*
 
 %changelog
+* Tue Mar 15 2011 Severin Gehwolf <sgehwolf at redhat.com> 4.1-6
+- Explicitly set PrivatePackage to the empty set, so as to
+  export all packages.
+
 * Fri Mar 11 2011 Alexander Kurtakov <akurtako at redhat.com> 4.1-5
 - Bump release to fix my mistake with the release.
 
diff --git a/osgify.patch b/osgify.patch
index 5c6afb1..780e89c 100644
--- a/osgify.patch
+++ b/osgify.patch
@@ -9,7 +9,7 @@
  
    <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-@@ -111,6 +111,16 @@
+@@ -111,6 +111,17 @@
            </archive>
          </configuration>
        </plugin>
@@ -20,6 +20,7 @@
 +        <configuration>
 +            <instructions>
 +                <Export-Package>*</Export-Package>
++                <Private-Package></Private-Package>
 +            </instructions>
 +        </configuration>
 +      </plugin>   


More information about the scm-commits mailing list