| |
@@ -1,7 +1,7 @@
|
| |
Summary: COPR system components mocks
|
| |
Name: copr-mocks
|
| |
Version: 1.6
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
|
| |
# Source is created by:
|
| |
# git clone https://git.fedorahosted.org/git/copr.git
|
| |
@@ -11,11 +11,18 @@
|
| |
|
| |
License: GPLv2+
|
| |
BuildArch: noarch
|
| |
+ %if 0%{?el7}
|
| |
+ BuildRequires: python-devel
|
| |
+ Requires: python
|
| |
+ Requires: python-flask
|
| |
+ Requires: python-flask-script
|
| |
+ %else
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: systemd-units
|
| |
Requires: python3
|
| |
Requires: python3-flask
|
| |
Requires: python3-flask-script
|
| |
+ %endif
|
| |
+ BuildRequires: systemd-units
|
| |
|
| |
%description
|
| |
This package provides mocks for individual copr system components
|
| |
@@ -49,6 +56,9 @@
|
| |
%{_unitdir}/copr-mocks-frontend.service
|
| |
|
| |
%changelog
|
| |
+ * Mon Dec 05 2016 Martin Juhl <mj@casalogic.dk> 1.6-2
|
| |
+ - EL7 Support
|
| |
+
|
| |
* Thu Dec 01 2016 clime <clime@redhat.com> 1.6-1
|
| |
- ignore ValueError exception
|
| |
|
| |
copr-mocks are only for python3 at the moment so requiring python2 packages for epel won't do any good.