added -filesystem subpackage [release 5.3.1-3mamba;Mon Apr 12 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 00:16:35 +01:00
parent 0951cfffba
commit cb1b19b20a
2 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,4 @@
# javapackages # javapackages
Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform. Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform.

View File

@ -1,6 +1,6 @@
Name: javapackages Name: javapackages
Version: 5.3.1 Version: 5.3.1
Release: 2mamba Release: 3mamba
Summary: A collection of tools that make it easier to build RPM packages containing software running on the Java platform Summary: A collection of tools that make it easier to build RPM packages containing software running on the Java platform
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -15,14 +15,26 @@ BuildRequires: libpython3-devel
BuildRequires: asciidoc BuildRequires: asciidoc
Requires: rpm Requires: rpm
Provides: jpackage-utils Provides: jpackage-utils
Obsoletes: jpackage-utils Obsoletes: jpackage-utils < 5.3.1
Provides: javapackages-tools = %{?epoch:%epoch:}%{version}-%{release} Provides: javapackages-tools = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-filesystem = %{?epoch:%epoch:}%{version}-%{release}
%description %description
Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform. Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform.
%package filesystem
Group: System/Configuration
Summary: Java filesystem layout
%description filesystem
Java filesystem layout.
#% debug_package #% debug_package
# Don't generate requires on jpackage-utils and java-headless for
# provided pseudo-artifacts: com.sun:tools and sun.jdk:jconsole.
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}/maven-metadata/javapackages-metadata.xml$
%prep %prep
%setup -q %setup -q
@ -76,7 +88,6 @@ chmod +x %{buildroot}%{_prefix}/lib/rpm/*.{req,prov}
%{_prefix}/lib/rpm/fileattrs/osgi.attr %{_prefix}/lib/rpm/fileattrs/osgi.attr
%{_prefix}/lib/rpm/javadoc.req %{_prefix}/lib/rpm/javadoc.req
%{_prefix}/lib/rpm/macros.d/macros.fjava %{_prefix}/lib/rpm/macros.d/macros.fjava
%{_prefix}/lib/rpm/macros.d/macros.javapackages-filesystem
%{_prefix}/lib/rpm/macros.d/macros.jpackage %{_prefix}/lib/rpm/macros.d/macros.jpackage
%{_prefix}/lib/rpm/maven.prov %{_prefix}/lib/rpm/maven.prov
%{_prefix}/lib/rpm/maven.req %{_prefix}/lib/rpm/maven.req
@ -99,7 +110,13 @@ chmod +x %{buildroot}%{_prefix}/lib/rpm/*.{req,prov}
%{_datadir}/xmvn/configuration.xml %{_datadir}/xmvn/configuration.xml
%doc LICENSE %doc LICENSE
%files filesystem -f files-filesystem
%defattr(-,root,root)
%changelog %changelog
* Mon Apr 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-3mamba
- added -filesystem subpackage
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-2mamba * Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-2mamba
- make %{_prefix}/lib/rpm/*,{req,prov} executable - make %{_prefix}/lib/rpm/*,{req,prov} executable