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
This commit is contained in:
Ana Guerrero 2024-10-08 15:24:18 +00:00 committed by Git OBS Bridge
commit eb60ebce5f
5 changed files with 28 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -17,15 +17,17 @@
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: https://www.osgi.org
Source0: https://osgi.org/download/r7/osgi.cmpn-%{version}.jar
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
@ -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
@ -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.

3
osgi.cmpn-8.0.0.jar Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f2dd5348f0c97e78588252d7730c05c065cc7b712e1892cc963ab9bf58a0c47
size 1897102