summaryrefslogtreecommitdiff
path: root/copr-backend.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-21 17:37:41 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-21 17:37:42 +0000
commit133ef9d4cb72a5081fab588e821eee4a178afc7e (patch)
tree76779ef5ca00cab259eb516c4c44eef0b3048cc9 /copr-backend.spec
parentc3bf05eae09a01b1153504b7e7de2b8c43a34eea (diff)
automatic import of copr-backend
Diffstat (limited to 'copr-backend.spec')
-rw-r--r--copr-backend.spec15
1 files changed, 7 insertions, 8 deletions
diff --git a/copr-backend.spec b/copr-backend.spec
index 511f185..ae9f5f4 100644
--- a/copr-backend.spec
+++ b/copr-backend.spec
@@ -1,11 +1,11 @@
%global prunerepo_version 1.20
-%global tests_version 2
+%global tests_version 5
%global tests_tar test-data-copr-backend
-%global copr_common_version 0.19
+%global copr_common_version 0.20.1.dev1
Name: copr-backend
-Version: 1.168
+Version: 1.173
Release: 1%{?dist}
Summary: Backend for Copr
@@ -17,9 +17,9 @@ URL: https://github.com/fedora-copr/copr
# tito build --tgz --tag %%name-%%version-%%release
Source0: %{name}-%{version}.tar.gz
Source1: %{tests_tar}-%{tests_version}.tar.gz
-Patch1: helpers.patch
+Patch1: fail_to_build_in_oe2403.patch
Patch2: euler_msgbus.patch
-Patch3: print_queues.patch
+#Patch3: print_queues.patch
#Patch4: redis_helpers.patch # should patch to copr common
Patch5: support_signatrust_backend.patch
Patch6: signatrust_bin.patch
@@ -39,6 +39,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-copr
+BuildRequires: python3-kafka-python
BuildRequires: python3-copr-common = %copr_common_version
BuildRequires: python3-daemon
BuildRequires: python3-dateutil
@@ -103,6 +104,7 @@ Requires: rsync
Requires: modulemd-tools >= 0.6
Recommends: util-linux-core
Requires: zstd
+Requires: python3-kafka-python
Requires(post): systemd
Requires(preun): systemd
@@ -177,7 +179,6 @@ install -d %{buildroot}%{_sysconfdir}/logstash.d
install -d %{buildroot}%{_datadir}/logstash/patterns/
cp -a conf/logstash/lighttpd.pattern %{buildroot}%{_datadir}/logstash/patterns/lighttpd.pattern
-cp -a conf/playbooks %{buildroot}%{_pkgdocdir}/
install -d %{buildroot}%{_pkgdocdir}/examples/%{_sysconfdir}/logstash.d
cp -a conf/logstash/copr_backend.conf %{buildroot}%{_pkgdocdir}/examples/%{_sysconfdir}/logstash.d/copr_backend.conf
@@ -221,7 +222,6 @@ useradd -r -g copr -G lighttpd -s /bin/bash -c "COPR user" copr
%config(noreplace) %{_sysconfdir}/logrotate.d/copr-backend
%dir %{_pkgdocdir}
%doc %{_pkgdocdir}/lighttpd
-%doc %{_pkgdocdir}/playbooks
%dir %{_sysconfdir}/copr
%config(noreplace) %attr(0640, root, copr) %{_sysconfdir}/copr/copr-be.conf
%{_unitdir}/*.service
@@ -242,7 +242,6 @@ useradd -r -g copr -G lighttpd -s /bin/bash -c "COPR user" copr
%doc
%{_pkgdocdir}/
%exclude %{_pkgdocdir}/lighttpd
-%exclude %{_pkgdocdir}/playbooks
%changelog
* Wed Mar 12 2025 lichaoran <pkwarcraft@hotmail.com> 1.168-1