6
0

Compare commits

...

12 Commits

Author SHA256 Message Date
bdcd2fe23b Accepting request 1206185 from Java:packages
8.0.0

OBS-URL: https://build.opensuse.org/request/show/1206185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=7
2024-10-08 15:24:18 +00:00
d5271ee040 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=24 2024-10-07 22:54:03 +00:00
7ef715dc26 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=23 2024-10-06 17:09:00 +00:00
f51e7f7847 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=22 2024-10-06 16:31:16 +00:00
eed402ea2d OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=21 2024-10-06 15:34:36 +00:00
82b677ba43 Accepting request 1205274 from Java:packages
Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/1205274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=6
2024-10-02 19:36:03 +00:00
1bc3ffcce0 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=19 2024-10-02 15:57:07 +00:00
f41f5a4409 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-compendium?expand=0&rev=18 2024-09-29 20:42:48 +00:00
5a47f43e25 Accepting request 1108669 from Java:packages
regenerate bundle manifest

OBS-URL: https://build.opensuse.org/request/show/1108669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=5
2023-09-04 20:52:38 +00:00
2f547808b7 Accepting request 979211 from Java:packages
Sync changes with sle

OBS-URL: https://build.opensuse.org/request/show/979211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=4
2022-05-25 18:35:23 +00:00
567d85a41f Accepting request 790500 from Java:packages
7.0.0

OBS-URL: https://build.opensuse.org/request/show/790500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=3
2020-04-01 17:18:22 +00:00
5162b9bcd4 Accepting request 694540 from Java:packages
Fix build against upcoming geronimo-specs

OBS-URL: https://build.opensuse.org/request/show/694540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osgi-compendium?expand=0&rev=2
2019-04-17 08:08:24 +00:00
5 changed files with 37 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 7 22:53:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 8.0.0
* no upstream changelog
-------------------------------------------------------------------
Wed Oct 2 15:57:05 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Sat Sep 2 21:52:09 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package osgi-compendium
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,21 @@
Name: osgi-compendium
Version: 7.0.0
Version: 8.0.0
Release: 0
Summary: Interfaces and Classes for use in compiling OSGi bundles
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://www.osgi.org
Source0: https://osgi.org/download/r7/osgi.cmpn-%{version}.jar
URL: https://www.osgi.org
Source0: https://osgi.org/download/r8/osgi.cmpn-%{version}.jar
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: atinject
BuildRequires: cdi-api
BuildRequires: fdupes
BuildRequires: geronimo-jpa-3_0-api
BuildRequires: glassfish-servlet-api
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: osgi-annotation
BuildRequires: osgi-core
BuildRequires: unzip
@@ -56,10 +58,9 @@ mkdir -p src/main/{java,resources}
mv OSGI-OPT/src/org src/main/java/
mv xmlns src/main/resources
# J2ME stuff
rm -r src/main/java/org/osgi/service/io
mv META-INF/maven/org.osgi/osgi.cmpn/pom.xml .
mv META-INF/LICENSE .
mv META-INF/NOTICE .
%pom_xpath_inject pom:project '
<packaging>bundle</packaging>
@@ -82,15 +83,18 @@ mv META-INF/maven/org.osgi/osgi.cmpn/pom.xml .
</plugins>
</build>'
%pom_remove_dep :
%pom_add_dep org.osgi:osgi.annotation::provided
%pom_add_dep org.osgi:osgi.core::provided
%pom_add_dep javax.servlet:javax.servlet-api::provided
%pom_add_dep javax.persistence:persistence-api::provided
%pom_add_dep javax.enterprise:cdi-api::provided
%pom_add_dep javax.inject:javax.inject::provided
rm -r src/main/java/org/osgi/service/jaxrs
mkdir -p lib
build-jar-repository -s lib geronimo-jpa-3.0-api glassfish-servlet-api osgi-annotation osgi-core
build-jar-repository -s lib geronimo-jpa-3.0-api glassfish-servlet-api osgi-annotation osgi-core javax.enterprise.inject atinject
%build
ant jar javadoc
@@ -101,7 +105,7 @@ install -dm 0755 %{buildroot}%{_javadir}/%{name}
install -pm 0644 target/osgi.cmpn-%{version}.jar %{buildroot}%{_javadir}/%{name}/osgi.cmpn.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/osgi.cmpn.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/osgi.cmpn.pom
%add_maven_depmap %{name}/osgi.cmpn.pom %{name}/osgi.cmpn.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
@@ -109,11 +113,10 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE
%doc about.html
%license LICENSE NOTICE
%files javadoc
%license LICENSE
%license LICENSE NOTICE
%{_javadocdir}/%{name}
%changelog

BIN
osgi.cmpn-7.0.0.jar (Stored with Git LFS)

Binary file not shown.

BIN
osgi.cmpn-8.0.0.jar (Stored with Git LFS) Normal file

Binary file not shown.