|
|
84ddd55 |
Name: module-build-service
|
|
|
786e959 |
Version: 1.3.9
|
|
|
d73b095 |
Release: 1%{?dist}
|
|
|
84ddd55 |
Summary: The Module Build Service for Modularity
|
|
|
84ddd55 |
|
|
|
84ddd55 |
Group: Development/Tools
|
|
|
84ddd55 |
License: MIT
|
|
|
84ddd55 |
URL: https://pagure.io/fm-orchestrator
|
|
|
84ddd55 |
Source0: https://files.pythonhosted.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz
|
|
|
84ddd55 |
|
|
|
5dafa34 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
5dafa34 |
# In EL7 we need flask which needs python-itsdangerous which comes from
|
|
|
5dafa34 |
# rhel7-extras which is only available on x86_64 for now.
|
|
|
5dafa34 |
ExclusiveArch: %{ix86} x86_64
|
|
|
5dafa34 |
%else
|
|
|
84ddd55 |
BuildArch: noarch
|
|
|
5dafa34 |
%endif
|
|
|
84ddd55 |
|
|
|
84ddd55 |
BuildRequires: python2-devel
|
|
|
84ddd55 |
|
|
|
84ddd55 |
BuildRequires: python2-mock
|
|
|
d0414f2 |
BuildRequires: python-vcrpy
|
|
|
84ddd55 |
BuildRequires: fedmsg
|
|
|
84ddd55 |
BuildRequires: git
|
|
|
177e09c |
BuildRequires: help2man
|
|
|
84ddd55 |
BuildRequires: kobo
|
|
|
84ddd55 |
BuildRequires: kobo-rpmlib
|
|
|
84ddd55 |
BuildRequires: koji
|
|
|
84ddd55 |
BuildRequires: m2crypto
|
|
|
84ddd55 |
BuildRequires: mock
|
|
|
84ddd55 |
BuildRequires: pdc-client
|
|
|
84ddd55 |
BuildRequires: pyOpenSSL
|
|
|
84ddd55 |
BuildRequires: python-fedora
|
|
|
84ddd55 |
BuildRequires: python-flask
|
|
|
84ddd55 |
BuildRequires: python-flask-script
|
|
|
84ddd55 |
BuildRequires: python-httplib2
|
|
|
84ddd55 |
BuildRequires: python-m2ext
|
|
|
84ddd55 |
BuildRequires: python-munch
|
|
|
84ddd55 |
BuildRequires: python-six
|
|
|
84ddd55 |
BuildRequires: python-sqlalchemy
|
|
|
d3f12c7 |
BuildRequires: python2-funcsigs
|
|
Petr Šabata |
e3dee67 |
BuildRequires: python2-modulemd >= 1.1.0
|
|
|
84ddd55 |
BuildRequires: rpm-build
|
|
|
e0b83be |
BuildRequires: python-qpid
|
|
|
d099d99 |
BuildRequires: python-futures
|
|
|
84ddd55 |
|
|
|
d6a3534 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
d6a3534 |
BuildRequires: python-setuptools
|
|
|
d6a3534 |
BuildRequires: python-flask-sqlalchemy
|
|
|
4a33be2 |
BuildRequires: python-flask-migrate
|
|
|
4a33be2 |
BuildRequires: python-nose
|
|
|
4a33be2 |
BuildRequires: python-mock
|
|
|
d6a3534 |
%else
|
|
|
d6a3534 |
BuildRequires: python2-setuptools
|
|
|
d6a3534 |
BuildRequires: python2-flask-sqlalchemy
|
|
|
4a33be2 |
BuildRequires: python2-flask-migrate
|
|
|
4a33be2 |
BuildRequires: python2-nose
|
|
|
4a33be2 |
BuildRequires: python2-mock
|
|
|
d6a3534 |
%endif
|
|
|
d6a3534 |
|
|
|
84ddd55 |
BuildRequires: systemd
|
|
|
84ddd55 |
%{?systemd_requires}
|
|
|
84ddd55 |
|
|
|
84ddd55 |
Requires: systemd
|
|
|
84ddd55 |
Requires: fedmsg
|
|
|
177e09c |
Requires: fedmsg-hub
|
|
|
84ddd55 |
Requires: git
|
|
|
84ddd55 |
Requires: kobo
|
|
|
84ddd55 |
Requires: kobo-rpmlib
|
|
|
84ddd55 |
Requires: koji
|
|
|
84ddd55 |
Requires: m2crypto
|
|
|
84ddd55 |
Requires: mock
|
|
|
84ddd55 |
Requires: pdc-client
|
|
|
84ddd55 |
Requires: pyOpenSSL
|
|
|
84ddd55 |
Requires: python-fedora
|
|
|
84ddd55 |
Requires: python-flask
|
|
|
84ddd55 |
Requires: python-flask-script
|
|
|
84ddd55 |
Requires: python-httplib2
|
|
|
84ddd55 |
Requires: python-m2ext
|
|
|
84ddd55 |
Requires: python-munch
|
|
|
84ddd55 |
Requires: python-six
|
|
|
84ddd55 |
Requires: python-sqlalchemy
|
|
|
d3f12c7 |
Requires: python2-funcsigs
|
|
Petr Šabata |
e3dee67 |
Requires: python2-modulemd >= 1.1.0
|
|
|
84ddd55 |
Requires: rpm-build
|
|
|
e0b83be |
Requires: python-qpid
|
|
|
d099d99 |
Requires: python-futures
|
|
|
84ddd55 |
|
|
|
d6a3534 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
d6a3534 |
Requires: python-flask-sqlalchemy
|
|
|
4a33be2 |
Requires: python-flask-migrate
|
|
|
258b45f |
Requires: python-mock
|
|
|
d6a3534 |
%else
|
|
|
d6a3534 |
Requires: python2-flask-sqlalchemy
|
|
|
4a33be2 |
Requires: python2-flask-migrate
|
|
|
258b45f |
Requires: python2-mock
|
|
|
d6a3534 |
%endif
|
|
|
d6a3534 |
|
|
|
84ddd55 |
|
|
|
84ddd55 |
%description
|
|
|
7317892 |
The Module Build Service (MBS) coordinates module builds and is responsible
|
|
|
7317892 |
for a number of tasks:
|
|
|
84ddd55 |
|
|
|
84ddd55 |
- Providing an interface for module client-side tooling via which module build
|
|
|
84ddd55 |
submission and build state queries are possible.
|
|
|
84ddd55 |
- Verifying the input data (modulemd, RPM SPEC files and others) is available
|
|
|
84ddd55 |
and correct.
|
|
|
84ddd55 |
- Preparing the build environment in the supported build systems, such as koji.
|
|
|
84ddd55 |
- Scheduling and building of the module components and tracking the build
|
|
|
84ddd55 |
state.
|
|
|
84ddd55 |
- Emitting bus messages about all state changes so that other infrastructure
|
|
|
84ddd55 |
services can pick up the work.
|
|
|
84ddd55 |
|
|
|
84ddd55 |
|
|
|
84ddd55 |
%prep
|
|
|
84ddd55 |
%setup -q
|
|
|
84ddd55 |
|
|
|
84ddd55 |
# Simply remove an old .pyc file that was included in one release.
|
|
|
84ddd55 |
rm -f module_build_service/scheduler/consumer.pyc
|
|
|
84ddd55 |
# And this weird sqlite file that made it in...
|
|
|
84ddd55 |
rm -f module_build_service/.mbs_local_build.db
|
|
|
84ddd55 |
|
|
|
d0414f2 |
|
|
|
84ddd55 |
%build
|
|
|
84ddd55 |
%py2_build
|
|
|
84ddd55 |
|
|
|
7317892 |
|
|
|
84ddd55 |
%install
|
|
|
84ddd55 |
%py2_install
|
|
|
35014af |
|
|
|
177e09c |
export PYTHONPATH=%{buildroot}%{python2_sitelib}
|
|
|
177e09c |
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
177e09c |
for command in mbs-manager mbs-frontend mbs-gencert mbs-upgradedb ; do
|
|
|
e0b83be |
MBS_CONFIG_FILE=conf/config.py help2man -N --version-string=%{version} \
|
|
|
e0b83be |
%{buildroot}/%{_bindir}/$command > \
|
|
|
e0b83be |
%{buildroot}/%{_mandir}/man1/$command.1
|
|
|
177e09c |
done
|
|
|
84ddd55 |
|
|
|
35014af |
|
|
|
d73b095 |
# Still failing https://pagure.io/fm-orchestrator/issue/381
|
|
|
d73b095 |
#%check
|
|
|
d73b095 |
#nosetests-2.7 -v
|
|
|
7317892 |
|
|
|
84ddd55 |
|
|
|
84ddd55 |
%files
|
|
|
84ddd55 |
%doc README.rst
|
|
|
84ddd55 |
%license LICENSE
|
|
|
84ddd55 |
%{python2_sitelib}/module_build_service*
|
|
|
84ddd55 |
%{_bindir}/mbs-*
|
|
|
177e09c |
%{_mandir}/man1/mbs-*.1*
|
|
|
84ddd55 |
%dir %{_sysconfdir}/module-build-service
|
|
|
84ddd55 |
%config(noreplace) %{_sysconfdir}/module-build-service/config.py
|
|
|
84ddd55 |
%config(noreplace) %{_sysconfdir}/module-build-service/koji.conf
|
|
|
84ddd55 |
%config(noreplace) %{_sysconfdir}/module-build-service/copr.conf
|
|
|
7317892 |
%config(noreplace) %{_sysconfdir}/module-build-service/cacert.pem
|
|
|
35014af |
%config(noreplace) %{_sysconfdir}/fedmsg.d/mbs-scheduler.py
|
|
|
84ddd55 |
%config(noreplace) %{_sysconfdir}/fedmsg.d/mbs-logging.py
|
|
|
84ddd55 |
%config(noreplace) %{_sysconfdir}/fedmsg.d/module_build_service.py
|
|
|
84ddd55 |
%exclude %{_sysconfdir}/module-build-service/*.py[co]
|
|
|
84ddd55 |
%exclude %{_sysconfdir}/fedmsg.d/*.py[co]
|
|
|
84ddd55 |
%exclude %{python2_sitelib}/conf/
|
|
|
84ddd55 |
%exclude %{python2_sitelib}/tests/
|
|
|
84ddd55 |
|
|
|
84ddd55 |
|
|
|
84ddd55 |
%changelog
|
|
|
786e959 |
* Thu Mar 16 2017 Ralph Bean <rbean@redhat.com> - 1.3.9-1
|
|
|
786e959 |
- new version
|
|
|
786e959 |
|
|
|
cbadef7 |
* Wed Mar 15 2017 Ralph Bean <rbean@redhat.com> - 1.3.8-1
|
|
|
cbadef7 |
- new version
|
|
|
cbadef7 |
|
|
|
c25f43c |
* Tue Mar 14 2017 Ralph Bean <rbean@redhat.com> - 1.3.6-1
|
|
|
c25f43c |
- new version
|
|
|
c25f43c |
|
|
|
796fef3 |
* Tue Mar 14 2017 Ralph Bean <rbean@redhat.com> - 1.3.5-1
|
|
|
796fef3 |
- new version
|
|
|
796fef3 |
|
|
|
c002610 |
* Mon Mar 13 2017 Ralph Bean <rbean@redhat.com> - 1.3.4-1
|
|
|
c002610 |
- new version
|
|
|
c002610 |
|
|
|
d73b095 |
* Fri Mar 03 2017 Ralph Bean <rbean@redhat.com> - 1.3.3-1
|
|
|
d73b095 |
- new version
|
|
|
d73b095 |
|
|
Petr Šabata |
e3dee67 |
* Fri Mar 03 2017 Petr Ĺ abata <contyk@redhat.com> - 1.3.2-3
|
|
Petr Šabata |
e3dee67 |
- MBS requires modulemd-1.1.0+ to work properly
|
|
Petr Šabata |
e3dee67 |
|
|
|
5dafa34 |
* Thu Mar 02 2017 Ralph Bean <rbean@redhat.com> - 1.3.2-2
|
|
|
5dafa34 |
- Conditionalize arch for epel7 building.
|
|
|
5dafa34 |
|
|
|
1a33ec9 |
* Thu Mar 02 2017 Ralph Bean <rbean@redhat.com> - 1.3.2-1
|
|
|
1a33ec9 |
- new version
|
|
|
1a33ec9 |
|
|
|
0a3efd7 |
* Tue Feb 28 2017 Ralph Bean <rbean@redhat.com> - 1.3.1-2
|
|
|
0a3efd7 |
- Disable the test suite in koji for now.
|
|
|
0a3efd7 |
|
|
|
1dacd64 |
* Tue Feb 28 2017 Ralph Bean <rbean@redhat.com> - 1.3.1-1
|
|
|
e76575a |
- new version
|
|
|
e76575a |
|
|
|
92e8746 |
* Wed Feb 15 2017 Ralph Bean <rbean@redhat.com> - 1.2.0-1
|
|
|
92e8746 |
- new version
|
|
|
92e8746 |
|
|
|
fa9c054 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
|
fa9c054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
fa9c054 |
|
|
|
7317892 |
* Wed Feb 1 2017 Filip Valder <fvalder@redhat.com> - 1.1.1-2
|
|
|
7317892 |
- New revision (deps & cleanups)
|
|
|
7317892 |
|
|
|
e0b83be |
* Tue Jan 31 2017 Ralph Bean <rbean@redhat.com> - 1.1.1-1
|
|
|
e0b83be |
- new version
|
|
|
e0b83be |
|
|
|
35014af |
* Tue Jan 24 2017 Ralph Bean <rbean@redhat.com> - 1.1.0-3
|
|
|
35014af |
- Include fedmsg.d/mbs-scheduler.py by default.
|
|
|
35014af |
|
|
|
d3f12c7 |
* Wed Jan 18 2017 Ralph Bean <rbean@redhat.com> - 1.1.0-2
|
|
|
d3f12c7 |
- Dep fixes (for EPEL7).
|
|
|
d3f12c7 |
|
|
|
d0414f2 |
* Tue Jan 17 2017 Ralph Bean <rbean@redhat.com> - 1.1.0-1
|
|
|
d0414f2 |
- new version
|
|
|
d0414f2 |
|
|
|
d6a3534 |
* Wed Jan 11 2017 Ralph Bean <rbean@redhat.com> - 1.0.2-4
|
|
|
d6a3534 |
- Conditionalize some deps for EPEL7.
|
|
|
d6a3534 |
|
|
|
177e09c |
* Wed Jan 11 2017 Ralph Bean <rbean@redhat.com> - 1.0.2-3
|
|
|
177e09c |
- Sync spec file from upstream git.
|
|
|
177e09c |
|
|
|
177e09c |
* Thu Dec 15 2016 Matt Prahl <mprahl@redhat.com> - 1.0.2-2
|
|
|
177e09c |
- Replace systemd unit with fedmsg-hub
|
|
|
84ddd55 |
- Remove an old .pyc file that got included by accident.
|
|
|
84ddd55 |
|
|
|
84ddd55 |
* Wed Dec 14 2016 Ralph Bean <rbean@redhat.com> - 1.0.2-1
|
|
|
84ddd55 |
- Enable test suite in the check section.
|
|
|
84ddd55 |
- Add systemd scriptlets, per review feedback.
|
|
|
84ddd55 |
|
|
|
84ddd55 |
* Mon Dec 12 2016 Ralph Bean <rbean@redhat.com> - 1.0.1-1
|
|
|
84ddd55 |
- Cleanup in preparation for package review.
|
|
|
84ddd55 |
|
|
|
84ddd55 |
* Tue Dec 6 2016 Matt Prahl <mprahl@redhat.com> - 1.0.0-2
|
|
|
84ddd55 |
- Adds systemd unit.
|
|
|
84ddd55 |
|
|
|
84ddd55 |
* Fri Nov 25 2016 Filip Valder <fvalder@redhat.com> - 1.0.0-1
|
|
|
84ddd55 |
- Let's get this party started.
|