Reorganize subpackages

Related: rhbz#2140568
This commit is contained in:
Marián Konček 2023-02-01 14:31:11 +01:00
parent 230fde6ffb
commit 43d849b98d
1 changed files with 15 additions and 32 deletions

View File

@ -14,43 +14,30 @@ BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.ant:ant-junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.resolver:maven-resolver-api)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
%description
Code shared between JAXP, JAXB, SAAJ, and JAX-WS projects.
%package -n import-properties-plugin
Summary: istack-commons import properties plugin
%description -n import-properties-plugin
This package contains the istack-commons import properties Maven Mojo.
%package -n istack-commons-runtime
%package runtime
Summary: istack-commons runtime
%description -n istack-commons-runtime
%description runtime
This package contains istack-commons runtime.
%package -n istack-commons-tools
Summary: istack-commons tools
%description -n istack-commons-tools
This package contains istack-commons tools.
%package -n istack-commons-test
%package test
Summary: istack-commons test
%description -n istack-commons-test
%description test
This package contains istack-commons test.
%package tools
Summary: istack-commons tools
%description tools
This package contains istack-commons tools.
%prep
%setup -q
@ -71,12 +58,10 @@ find -name 'module-info.java' -type f -delete
%pom_disable_module soimp
%pom_disable_module buildtools
%pom_disable_module import-properties-plugin
%pom_disable_module maven-plugin
%mvn_package :istack-commons __noinstall
# Compatibility
%mvn_alias :istack-commons-maven-plugin com.sun.istack:maven-istack-commons-plugin
popd
%build
@ -90,18 +75,16 @@ pushd istack-commons
%mvn_install
popd
%files -n import-properties-plugin -f istack-commons/.mfiles-import-properties-plugin
%files runtime -f istack-commons/.mfiles-istack-commons-runtime
%license LICENSE.md NOTICE.md
%files -n istack-commons-runtime -f istack-commons/.mfiles-istack-commons-runtime
%files test -f istack-commons/.mfiles-istack-commons-test
%license LICENSE.md NOTICE.md
%files -n istack-commons-tools -f istack-commons/.mfiles-istack-commons-tools
%license LICENSE.md NOTICE.md
%files -n istack-commons-test -f istack-commons/.mfiles-istack-commons-test
%files tools -f istack-commons/.mfiles-istack-commons-tools
%license LICENSE.md NOTICE.md
%changelog
* Wed Feb 01 2023 Marián Konček <mkoncek@redhat.com> - 4.1.1-2
- Reduce dependencies
- Reduce dependencies, reorganize subpackages
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.1.1-1
- Initial build