From db9a63bfb093d53ff7b68e2659408768a0deae38 Mon Sep 17 00:00:00 2001 From: Simon Neininger Date: Dec 12 2020 21:38:06 +0000 Subject: - --- diff --git a/patroni.spec b/patroni.spec index e6f3cc6..fa80efd 100644 --- a/patroni.spec +++ b/patroni.spec @@ -41,16 +41,7 @@ BuildRequires: python3dist(psutil) >= 2.0.0 #pysyncobj>=0.3.7 #BuildRequires: python3dist(pysuncobj) >= 0.3.7 - -%description -|Build Status| |Coverage Status|Patroni: A Template for PostgreSQL HA with -ZooKeeper or etcd Patroni was previously known as Governor.*There are many ways -to run high availability with PostgreSQL; here we present a template for you to -create your own custom fit high availability solution using python and -distributed configuration store (like ZooKeeper or etcd) for maximum... - -%{?python_provide:%python_provide python3-%{pypi_name}} -Requires: python3dist(mock) +#Requires: python3dist(mock) Requires: python3dist(psycopg2) #Requires: python3dist(boto) #Requires: python3dist(dnspython) @@ -72,6 +63,15 @@ Requires: python3dist(psycopg2) #Requires: python3dist(prettytable) >= 0.7 #Requires: python3dist(psutil) >= 2.0.0 +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description +|Build Status| |Coverage Status|Patroni: A Template for PostgreSQL HA with +ZooKeeper or etcd Patroni was previously known as Governor.*There are many ways +to run high availability with PostgreSQL; here we present a template for you to +create your own custom fit high availability solution using python and +distributed configuration store (like ZooKeeper or etcd) for maximum... + %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info @@ -91,7 +91,6 @@ rm -rf %{pypi_name}.egg-info %{_bindir}/patroni %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info -/usr/bin/patroni_aws /usr/bin/patroni_raft_controller /usr/bin/patroni_wale_restore /usr/bin/patronictl @@ -105,6 +104,9 @@ rm -rf %{pypi_name}.egg-info %{?python_extras_subpkg:%python_extras_subpkg -n patroni -i %{python3_sitelib}/*.egg-info raft} %{?python_extras_subpkg:%python_extras_subpkg -n patroni -i %{python3_sitelib}/*.egg-info zookeeper} +%files -n patroni+aws +/usr/bin/patroni_aws + %changelog * Thu Dec 10 2020 Simon Neininger 2.0.1-9 - builddep changes (simon@neininger.net)