Temporarily disable javadoc generation
Resolves: rhbz#1976997
This commit is contained in:
parent
8a3c768678
commit
60d40351dd
@ -1,25 +1,19 @@
|
||||
%global srcname jaf
|
||||
|
||||
Name: jakarta-activation
|
||||
Version: 1.2.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Jakarta Activation Specification and Implementation
|
||||
License: BSD
|
||||
|
||||
URL: https://eclipse-ee4j.github.io/jaf/
|
||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||
|
||||
Provides: jaf = %{version}-%{release}
|
||||
Obsoletes: jaf < 1.2.1-5
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
|
||||
%description
|
||||
Jakarta Activation lets you take advantage of standard services to:
|
||||
@ -27,53 +21,50 @@ determine the type of an arbitrary piece of data; encapsulate access to
|
||||
it; discover the operations available on it; and instantiate the
|
||||
appropriate bean to perform the operation(s).
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%setup -q -n jaf-%{version}
|
||||
|
||||
# remove unnecessary dependency on "org.eclipse.ee4j:project" (not packaged)
|
||||
%pom_remove_parent
|
||||
%pom_disable_module demo
|
||||
|
||||
# remove unnecessary maven plugins
|
||||
%pom_remove_plugin :build-helper-maven-plugin
|
||||
%pom_remove_plugin :directory-maven-plugin
|
||||
%pom_remove_plugin :osgiversion-maven-plugin
|
||||
sed -i 's/${main.basedir}/${basedir}/' pom.xml
|
||||
|
||||
# remove custom doclet configuration
|
||||
%pom_remove_plugin :maven-javadoc-plugin activation
|
||||
|
||||
# disable demo submodule
|
||||
%pom_disable_module demo
|
||||
|
||||
# set bundle version manually instead of with osgiversion-maven-plugin
|
||||
# (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers)
|
||||
%pom_remove_plugin :osgiversion-maven-plugin
|
||||
sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml
|
||||
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
|
||||
%mvn_build -j
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.md NOTICE.md
|
||||
%doc README.md
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
|
||||
#%files javadoc -f .mfiles-javadoc
|
||||
%files javadoc
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
%changelog
|
||||
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-4
|
||||
- Temporarily disable javadoc generation
|
||||
- Resolves: rhbz#1976997
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user