File ehcache-kit.spec of Package ehcache-kit

#
# spec file for a build-time dependency of project "ehcache"
#
# Copyright (c) 2026 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.

Name:           ehcache-kit
Version:        ad6354bda6403663a318ff4a41888b5f6096c05e
Release:        0
License:        NonFree
Summary:        Build-time dependency of project "ehcache"
URL:            https://github.com/uyuni-project/tetra
Group:          Development/Libraries/Java
Source0:        %{name}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  x86_64
BuildRequires:  xz
BuildRequires:  fdupes
Provides:       tetra-kit
Conflicts:      otherproviders(tetra-kit)

%description
This package has been automatically created by tetra in order to
satisfy build time dependencies of Java packages.
It should not be used except for rebuilding other packages,
thus it should never be installed on end users' systems.

%prep
%setup -q -T -D -n .

%build
# nothing to do, precompiled by design

%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
install -d -m 0755 %{buildroot}%{_libdir}/tetra/
tar -C %{buildroot}%{_libdir}/tetra --strip-components=1 -xJf %{S:0}
%fdupes -s %{buildroot}%{_libdir}/tetra/

%files
%defattr(-,root,root)
%{_libdir}/tetra/

%changelog
openSUSE Build Service is sponsored by