Add missing dependency on junit OBS-URL: https://build.opensuse.org/request/show/1264738 OBS-URL: https://build.opensuse.org/package/show/Java:packages/lambda?expand=0&rev=3
64 lines
1.7 KiB
RPMSpec
64 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package lambda
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: lambda
|
|
Version: 5.5.0
|
|
Release: 0
|
|
Summary: Functional patterns for Java
|
|
License: MIT
|
|
Group: Development/Libraries/Java
|
|
URL: https://palatable.github.io/%{name}/
|
|
Source0: https://github.com/palatable/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(junit:junit)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Functional patterns for Java.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
Group: Documentation/HTML
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
%pom_remove_parent
|
|
%pom_xpath_inject pom:project '<groupId>com.jnape.palatable</groupId>'
|
|
%pom_xpath_remove pom:project/pom:build/pom:plugins/pom:plugin/pom:configuration/pom:compilerArgs
|
|
|
|
%build
|
|
LC_ALL=C.UTF-8 %{mvn_build} -f
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes -s %{buildroot}%{_javadocdir}
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE
|
|
%doc {CHANGELOG,README}.md
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|