From 131a57bdae65792fd367338a88b127b6cefaa1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 22 Jan 2018 16:32:34 +0100 Subject: [PATCH] Update mock-core-configs to 28.1-1 --- .gitignore | 1 + mock-core-configs.spec | 19 ++++++++++++++----- sources | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7ad3883..d8afdde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /mock-core-configs-27.2.tar.gz /mock-core-configs-27.3.tar.gz /mock-core-configs-27.4.tar.gz +/mock-core-configs-28.1.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 97681ad..7a46394 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 27.4 +Version: 28.1 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -21,7 +21,7 @@ Requires: distribution-gpg-keys >= 1.15 Requires(pre): shadow-utils Requires(post): coreutils -%if 0%{?fedora} || 0%{?mageia} +%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 # to detect correct default.cfg Requires(post): python3-dnf Requires(post): python3-hawkey @@ -29,7 +29,7 @@ Requires(post): system-release Requires(post): python3 Requires(post): sed %endif -%if 0%{?rhel} +%if 0%{?rhel} <= 7 # to detect correct default.cfg Requires(post): python Requires(post): yum @@ -76,7 +76,7 @@ exit 0 %post if [ -s /etc/os-release ]; then - # fedora and rhel7 + # fedora and rhel7+ if grep -Fiq Rawhide /etc/os-release; then ver=rawhide # mageia @@ -91,7 +91,7 @@ else # something obsure, use buildtime version ver=%{?rhel}%{?fedora}%{?mageia} fi -%if 0%{?fedora} || 0%{?mageia} +%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 if [ -s /etc/mageia-release ]; then mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release) else @@ -119,6 +119,15 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Jan 22 2018 Miroslav Suchý 28.1-1 +- bump up version to 28.1 + +* Mon Jan 22 2018 Miroslav Suchý 27.5-1 +- add fedora 28 configs +- remove failovermethod=priority for repos which use dnf +- remove fedora 24 configs +- set skip_if_unavailable=False for all repos + * Mon Oct 09 2017 Miroslav Suchý 27.4-1 - Fix mock & mock-core-config specs to support Mageia (ngompa13@gmail.com) - Ensure mock-core-configs will select the right default on Mageia diff --git a/sources b/sources index 0303af0..b5faec5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-27.4.tar.gz) = a48dfc3c64fb8f542d19229ff09555cb4ad886d7fc7c32be0f629ef594e016802ef248913afeb8db284c8e55e391e7200f55022a7041afcc14281422175ccdb0 +SHA512 (mock-core-configs-28.1.tar.gz) = e0ca6dbbf1f789b3aea733aca89be8dc965b1dabe25abf41990a16b08132cfd222b638be310826155fa4e8bdff75feaa5d2e7eda1dbdfcb48ab218a68420ad4e