Source build tarball and requirements removed
This commit is contained in:
@@ -31,21 +31,14 @@ Vendor: VST Consulting <sergey.k@vstconsulting.net>
|
||||
License: AGPL-3+
|
||||
AutoReq: No
|
||||
AutoProv: No
|
||||
Source0: %name.tgz
|
||||
# compiled binary tree:
|
||||
Source0: %name-bin-%{version}.tar.gz
|
||||
Source1: %name-settings
|
||||
Source2: %name.service
|
||||
Source3: %name.tmpfiles.conf
|
||||
# compiled binary tree:
|
||||
Source10: %name-bin-%{version}.tar.gz
|
||||
|
||||
# Note: these two packages must not be installed by distribution (fedora): python3-pyyaml, python3-blockdiag-devel
|
||||
# Build fails, if these two packages are installed!
|
||||
BuildRequires: python3, openssl-devel, libyaml-devel, python3-mysql
|
||||
BuildRequires: python3-sphinxcontrib-blockdiag, python3-virtualenv, openldap-devel
|
||||
BuildRequires: python3-amqp, python3-vine, python3-billiard, python3-celery, python3-kombu
|
||||
BuildRequires: python3-redis, python3-Cython, python3-django-timezone-field, python3-markdown2
|
||||
BuildRequires: python3-netaddr, python3-ldap, python3-smmap
|
||||
#BuildRequires: nodejs-has-yarn, yarnpkg, nodejs >= 10.0
|
||||
Requires: python3, openssl-devel, libxcrypt-compat
|
||||
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
|
||||
Requires: git
|
||||
@@ -63,7 +56,6 @@ Polemarch is service for orchestration infrastructure by ansible.
|
||||
Simply WEB gui for orchestration infrastructure by ansible playbooks.
|
||||
|
||||
%prep
|
||||
%setup -q -n %name
|
||||
|
||||
%install
|
||||
#/usr/bin/make BUILD_DIR=%{buildroot}
|
||||
@@ -74,7 +66,7 @@ Simply WEB gui for orchestration infrastructure by ansible playbooks.
|
||||
# cd /root/rpmbuild/BUILDROOT/polemarch
|
||||
# tar czf ~/rpmbuild/SOURCES/polemarch-bin-1.7.3.tgz .
|
||||
# don't forget to replace version and release number!
|
||||
tar xzf %{S:10} -C %{buildroot}
|
||||
tar xzf %{S:0} -C %{buildroot}
|
||||
install -D %{S:1} %{buildroot}%{_sysconfdir}/%{namebase}/settings.ini
|
||||
install -D %{S:1} %{buildroot}%{_sysconfdir}/%{namebase}/settings.ini.template
|
||||
# fix for fedora rundir config:
|
||||
|
||||
Reference in New Issue
Block a user