[nekohtml] Add Export-Package statement to MANIFEST.MF.
Jeff Johnston
jjohnstn at fedoraproject.org
Mon May 12 22:34:21 UTC 2014
commit 04a567c3574d7901c1a3e9a01fe7b4ff4328ed94
Author: Jeff Johnston <jjohnstn at redhat.com>
Date: Mon May 12 18:06:07 2014 -0400
Add Export-Package statement to MANIFEST.MF.
nekohtml-osgi.patch | 13 +++++++------
nekohtml.spec | 7 +++++--
2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/nekohtml-osgi.patch b/nekohtml-osgi.patch
index d036e43..d736987 100644
--- a/nekohtml-osgi.patch
+++ b/nekohtml-osgi.patch
@@ -1,12 +1,13 @@
diff -up ./build.xml.fix ./build.xml
---- ./build.xml.fix 2014-05-12 13:07:54.165237445 -0400
-+++ ./build.xml 2014-05-12 13:13:07.506517919 -0400
-@@ -128,6 +128,8 @@
- <mkdir dir='${build.lib.dir}' />
+--- ./build.xml.fix 2014-05-12 18:02:07.855415796 -0400
++++ ./build.xml 2014-05-12 18:03:02.519353974 -0400
+@@ -129,6 +129,9 @@
<jar jarfile='${jar.file}'>
<manifest>
-+ <attribute name="Bundle-SymbolicName" value="${package}" />
-+ <attribute name="Bundle-Version" value="${version}" />
<attribute name="Built-By" value="${author}"/>
++ <attribute name="Bundle-SymbolicName" value="${package}" />
++ <attribute name="Bundle-Version" value="${version}" />
++ <attribute name="Export-Package" value="org.cyberneko.html,org.cyberneko.html.filters,org.cyberneko.html.parsers,org.cyberneko.html.xercesbridge" />
<section name="org/cyberneko/html/">
<attribute name="Specification-Title" value="Hyper-Text Markup Language (HTML)" />
+ <attribute name="Specification-Version" value="4.01" />
diff --git a/nekohtml.spec b/nekohtml.spec
index b656658..0627e2b 100644
--- a/nekohtml.spec
+++ b/nekohtml.spec
@@ -30,7 +30,7 @@
Name: nekohtml
Version: 1.9.20
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 0
Summary: HTML scanner and tag balancer
License: ASL 2.0
@@ -90,7 +90,7 @@ Demonstrations and samples for %{name}.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2
+#%patch2
find . -name "*.jar" | xargs -t %{__rm}
%{__perl} -pi -e 's/\r$//g' *.txt doc/*.html
%{__rm} -r doc/javadoc
@@ -133,6 +133,9 @@ export CLASSPATH=$(build-classpath bcel xerces-j2)
%files demo -f .mfiles-demo
%changelog
+* Mon May 12 2014 Jeff Johnston <jjohnstn at redhat.com> - 0:1.9.20-4
+- Add Export-Package statement to MANIFEST.MF.
+
* Mon May 12 2014 Jeff Johnston <jjohnstn at redhat.com> - 0:1.9.20-3
- Change Bundle-Name to be Bundle-SymbolicName.
More information about the scm-commits
mailing list