homeserver/collections/community/general/tests/integration/targets/zypper/templates/duplicate.spec.j2
Michael Grote ccaaabc1be fix ansible-lint (#583)
Reviewed-on: #583
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-19 11:10:04 +02:00

24 lines
746 B
Django/Jinja

{#
Copyright (c) Ansible Project
GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
SPDX-License-Identifier: GPL-3.0-or-later
#}
Summary: Duplicate{{ item }} RPM. Installs one file that is a duplicate of other Duplicate# RPMs
Name: duplicate{{ item }}
Version: 1
Release: 0
License: GPLv3
Group: Applications/System
BuildArch: noarch
%description
Duplicate {{ item }} RPM. Package one file that will be a duplicate of other Duplicate RPM contents.
This is only for testing of the replacefiles zypper option.
%install
mkdir -p "%{buildroot}/usr/lib/duplicate"
echo "%{name}" > "%{buildroot}/usr/lib/duplicate/duplicate.txt"
%files
/usr/lib/duplicate/duplicate.txt