Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Nick Bebout | dff2c39dda | |
Nick Bebout | cc6abcc98f | |
Troy Dawson | 5c03d16447 | |
Nick Bebout | d64df24da2 |
8
znc.spec
8
znc.spec
|
@ -28,7 +28,7 @@ Source1: %{url}/releases/%{name}-%{version}.tar.gz.sig
|
|||
Source2: gpgkey-5AE420CC0209989E.asc
|
||||
# Use system-wide crypto policy
|
||||
# https://fedoraproject.org/wiki/Packaging:CryptoPolicies
|
||||
Patch0: 0001-Use-system-wide-crypto-policy.patch
|
||||
# Patch0: 0001-Use-system-wide-crypto-policy.patch
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: c-ares-devel
|
||||
|
@ -98,7 +98,7 @@ Provides: perl(ZNC::Module) = %{version}-%{release}
|
|||
Summary: Python3 module for ZNC
|
||||
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: python34-devel
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
%else
|
||||
BuildRequires: python3-devel
|
||||
%endif # 0%{?rhel}
|
||||
|
@ -106,7 +106,7 @@ BuildRequires: swig
|
|||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?rhel}
|
||||
Requires: python34
|
||||
Requires: python%{python3_pkgversion}
|
||||
%else
|
||||
Requires: python3
|
||||
%endif # 0%{?rhel}
|
||||
|
@ -124,7 +124,7 @@ gpg2 --dearmor --quiet --batch --yes $key >/dev/null
|
|||
gpgv2 --homedir "$gpghome" --quiet --keyring $key.gpg %{SOURCE1} %{SOURCE0}
|
||||
rm -rf "$gpghome" $key.gpg # Cleanup tmp gpg home dir and dearmored key
|
||||
|
||||
%autosetup -p1
|
||||
%setup
|
||||
|
||||
# The manual page references /usr/local/; fix that
|
||||
sed -ie 's!/usr/local/!/usr/!' man/znc.1
|
||||
|
|
Loading…
Reference in New Issue