diff --git a/mock.spec b/mock.spec index d4df753d3fd6cfe85f56810cb4c9f589f5ea4590..031a7bb140d4a973b438e67646ea3306d68db823 100644 --- a/mock.spec +++ b/mock.spec @@ -6,9 +6,9 @@ Summary: Builds packages inside chroots Name: mock Version: 2.2 -Release: 1 +Release: 2 License: GPLv2+ -Source: %{name}-%{version}.tar.gz +Source: https://github.com/rpm-software-management/mock/releases/download/mock-2.2-1/%{name}-%{version}.tar.gz URL: https://github.com/rpm-software-management/mock/ Source1: mock_config.default BuildArch: noarch @@ -148,5 +148,8 @@ install -p -m 0644 %{SOURCE1} %{buildroot}/etc/mock/site-defaults.cfg %endif %changelog +* Thu Nov 10 2022 xu_ping 2.2-2 +- fix source url + * Fri May 15 2020 hexiaowen 2.2-1 - first build diff --git a/mock_config.default b/mock_config.default index dc73cf26582b0cb0b617a20ceae5edbd1d7f4c7c..6600bb5e6c0f3171919290110e3fc97901f78ea3 100644 --- a/mock_config.default +++ b/mock_config.default @@ -9,7 +9,7 @@ config_opts['nosync'] = True config_opts['root'] = 'openEuler-LTS-{{ target_arch }}-1' config_opts['target_arch'] = '{{ target_arch }}' -config_opts['use_bootstrap_container'] = False +config_opts['use_bootstrap'] = False config_opts['dnf_disable_plugins'] = ['local', 'spacewalk'] config_opts['use_nspawn'] = False config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s -N %(user)s' @@ -38,4 +38,4 @@ baseurl=http://9.82.1.253/productrepo/openEuler1.0/EULEROS_BASIC/ARM64/openEuler enabled=1 gpgcheck=0 gpgkey=http://9.82.1.253/productrepo/openEuler1.0/EULEROS_BASIC/ARM64/openEuler1.0/2020-03-20-06-30-06/RPM-GPG-KEY-openEuler -""" \ No newline at end of file +"""