public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/antlr3] epel10: Inject org.antlr.runtime OSGi metadata.
@ 2026-07-22 19:37 Alexander Kurtakov
  0 siblings, 0 replies; only message in thread
From: Alexander Kurtakov @ 2026-07-22 19:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/antlr3
            Branch : epel10
            Commit : c71126d2411f91e540c9339229c4a32b8df05cbb
            Author : Alexander Kurtakov <akurtako@redhat.com>
            Date   : 2012-08-06T23:41:37+03:00
            Stats  : +27/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/antlr3/c/c71126d2411f91e540c9339229c4a32b8df05cbb?branch=epel10

            Log:
            Inject org.antlr.runtime OSGi metadata.

- Update BRs to newer versions.

---
diff --git a/antlr-runtime-MANIFEST.MF b/antlr-runtime-MANIFEST.MF
new file mode 100644
index 0000000..e8a0e2d
--- /dev/null
+++ b/antlr-runtime-MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.3
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.antlr.runtime
+Eclipse-SourceReferences: scm:cvs:pserver:dev.eclipse.org:/cvsroot/too
+ ls:org.eclipse.orbit/org.antlr.runtime;tag=v201101311130
+Export-Package: org.antlr.runtime;version="3.2.0",org.antlr.runtime.de
+ bug;version="3.2.0",org.antlr.runtime.misc;version="3.2.0",org.antlr.
+ runtime.tree;version="3.2.0"
+Bundle-Version: 3.2.0.v201101311130
+Bundle-ManifestVersion: 2

diff --git a/antlr3.spec b/antlr3.spec
index 697de31..4147000 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:            ANother Tool for Language Recognition
 Name:               antlr3
 Version:            %{antlr_version}
-Release:            8%{?dist}
+Release:            9%{?dist}
 URL:                http://www.antlr.org/
 Source0:            http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
 Source1:            http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@@ -21,6 +21,7 @@ Source6:            settings.xml
 Source7:            http://www.antlr.org/download/antlr-%{antlr_version}.jar
 Source8:            http://mirrors.ibiblio.org/pub/mirrors/maven2/org/antlr/antlr3-maven-plugin/%{antlr_version}/antlr3-maven-plugin-%{antlr_version}.jar
 %endif
+Source9:            antlr-runtime-MANIFEST.MF
 License:            BSD
 Group:              Development/Libraries
 BuildRequires:      java-devel >= 1:1.6.0
@@ -32,9 +33,8 @@ BuildRequires:      maven-assembly-plugin
 BuildRequires:      maven-shared-reporting-impl
 BuildRequires:      maven-surefire-provider-junit4
 BuildRequires:      buildnumber-maven-plugin
-BuildRequires:      junit4
-BuildRequires:      tomcat6-servlet-2.5-api
-BuildRequires:      tomcat6
+BuildRequires:      junit
+BuildRequires:      tomcat-servlet-3.0-api
 BuildRequires:      stringtemplate4
 BuildRequires:      stringtemplate
 BuildRequires:      felix-parent
@@ -207,6 +207,12 @@ doxygen -u # update doxygen configuration file
 doxygen # build doxygen documentation
 popd
 
+# inject OSGi manifests
+mkdir -p META-INF
+cp -p %{SOURCE9} META-INF/MANIFEST.MF
+touch META-INF/MANIFEST.MF
+zip -u runtime/Java/target/antlr-runtime-%{antlr_version}.jar META-INF/MANIFEST.MF
+
 %install
 mkdir -p $RPM_BUILD_ROOT{%{_javadir},%{_mavenpomdir},%{_bindir},%{_datadir}/antlr,%{_mandir}}
 
@@ -306,6 +312,10 @@ popd
 %{_datadir}/antlr/
 
 %changelog
+* Mon Aug 6 2012 Alexander Kurtakov <akurtako@redhat.com> 3.4-9
+- Inject org.antlr.runtime OSGi metadata.
+- Update BRs to newer versions.
+
 * Tue Jul 24 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.4-8
 - Add back requires on stringtemplate for java subpackage
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 19:37 [rpms/antlr3] epel10: Inject org.antlr.runtime OSGi metadata Alexander Kurtakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox