Projects
Eulaceura:Factory
jakarta-interceptors
_service:obs_scm:jakarta-interceptors.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:jakarta-interceptors.spec of Package jakarta-interceptors
%global srcname interceptor-api Name: jakarta-interceptors Version: 2.0.0 Release: 1 Summary: Jakarta Interceptors License: EPL-2.0 or GPLv2 with exceptions %global upstream_version %{version}-RELEASE URL: https://github.com/eclipse-ee4j/interceptor-api Source0: https://github.com/eclipse-ee4j/interceptor-api/archive/2.0.0-RELEASE/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) BuildRequires: mvn(javax.annotation:javax.annotation-api) %description Jakarta Interceptors defines a means of interposing on business method invocations and specific events—such as lifecycle events and timeout events—that occur on instances of Jakarta EE components and other managed classes. %package javadoc Summary: Javadoc for %{name} # package renamed in fedora 33, remove in fedora 35 Provides: geronimo-interceptor-javadoc = %{version}-%{release} Obsoletes: geronimo-interceptor-javadoc < 1.0.1-25 %description javadoc API documentation for %{name}. %prep %autosetup -n %{srcname}-%{upstream_version} -p1 # remove unnecessary dependencies on parent POM %pom_remove_parent . api # do not install useless parent POM %mvn_package :interceptor-api-parent __noinstall # do not build specification documentation %pom_disable_module spec # remove unnecessary maven plugins %pom_remove_plugin :maven-enforcer-plugin api . %pom_remove_plugin :maven-javadoc-plugin api %pom_remove_plugin :maven-source-plugin api # disable spec verification (fails because spec-version-maven-plugin is too old) %pom_xpath_remove 'pom:goal[text()="check-module"]' api # provide javax.interceptor packages in addition to jakarta.interceptor cp -pr api/src/main/java/jakarta api/src/main/java/javax sed -i -e 's/jakarta\./javax./g' $(find api/src/main/java/javax -name *.java) %pom_change_dep jakarta.annotation:jakarta.annotation-api javax.annotation:javax.annotation-api api %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.md NOTICE.md %doc README.md %files javadoc -f .mfiles-javadoc %license LICENSE.md NOTICE.md %changelog * Thu Jun 30 2022 Ge Wang <wangge20@h-partners.com> - 2.0.0-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2