From eb2f9fdf92215b1261d713f2eb780941f49d6bce Mon Sep 17 00:00:00 2001 From: Paul P. Komkoff Date: Aug 06 2018 19:13:18 +0000 Subject: Fix epel build (#1505750) --- diff --git a/weechat.spec b/weechat.spec index 586aa42..7a4a317 100644 --- a/weechat.spec +++ b/weechat.spec @@ -2,7 +2,11 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ %if %{?_pkgdocdir:1}0 +%if 0%{?rhel} +%global _doc %{name}-%{version} +%else %global _doc %{name} +%endif %else %global _doc %{name}-%{version} %global _pkgdocdir %{_docdir}/%{_doc} @@ -10,7 +14,7 @@ Name: weechat Version: 2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Portable, fast, light and extensible IRC client URL: http://weechat.org @@ -136,6 +140,9 @@ popd %changelog +* Mon Aug 6 2018 Paul Komkoff - 2.2-2 +- Fix epel build (#1505750) + * Wed Jul 18 2018 Vasiliy N. Glazov - 2.2-1 - Update to 2.2 and clean spec