%define dist_name oraclelinux %define dist_list almalinux centos oraclelinux rocky %define conflict_dists() %(for i in almalinux centos oraclelinux rocky; do if [ "${i}" != "%{dist_name}" ]; then echo -n "leapp-data-${i} "; fi; done) %define gittag repomap_json Name: leapp-data-%{dist_name} Version: 0.1 Release: 4.tfm%{?dist} Summary: data for migrating tool Group: Applications/Databases License: ASL 2.0 URL: https://github.com/AlmaLinux/leapp-data Source0: https://github.com/evgeni/leapp-data/archive/%{gittag}.tar.gz#/leapp-data-%{version}.tar.gz BuildArch: noarch Conflicts: %{conflict_dists} %description %{dist_name} %{summary} %prep %setup -q -n leapp-data-%{gittag} %build %install mkdir -p %{buildroot}%{_sysconfdir}/leapp/files install -t %{buildroot}%{_sysconfdir}/leapp/files files/%{dist_name}/* %files %doc LICENSE NOTICE README.md %{_sysconfdir}/leapp/files/* %changelog * Thu Apr 07 2022 Evgeni Golov - 0.1-4.tfm - Include repomap.json and device_driver_deprecation_data.json required by newer leapp * Wed Mar 23 2022 Andrew Lukoshko - 0.1-4 - added ResilientStorage and updated repo URLs for AlmaLinux and Rocky * Thu Oct 21 2021 Andrew Lukoshko - 0.1-3 - updated PES data for Oracle and Rocky * Thu Aug 26 2021 Avi Miller - 0.1-2 - switched to using the full oraclelinux name - switched the Oracle Linux repos to use https - added Apache-2.0 NOTICE attribution file * Wed Aug 25 2021 Sergey Fokin - 0.1-1 - initial project