diff --git a/kf5-kdoctools.spec b/kf5-kdoctools.spec index db95d04..bceba67 100755 --- a/kf5-kdoctools.spec +++ b/kf5-kdoctools.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.21.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 2 addon for generating documentation License: GPLv2+ and MIT -URL: http://projects.kde.org/kdoctools +URL: https://quickgit.kde.org/?p=%{framework}.git %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -25,7 +25,12 @@ BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: libxml2-devel BuildRequires: libxslt-devel -BuildRequires: perl-Any-URI-Escape +%if 0%{?fedora} +BuildRequires: perl(Any::URI::Escape) +%endif +%if 0%{?rhel} +BuildRequires: perl(URI::Escape) +%endif BuildRequires: qt5-qtbase-devel Requires: docbook-dtds @@ -43,7 +48,12 @@ Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Provides: kf5-kdoctools-static = %{version}-%{release} Requires: qt5-qtbase-devel -Requires: perl-Any-URI-Escape +%if 0%{?fedora} +Requires: perl(Any::URI::Escape) +%endif +%if 0%{?rhel} +Requires: perl(URI::Escape) +%endif %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -87,6 +97,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Tue Apr 05 2016 Rex Dieter - 5.21.0-2 +- update URL, tweak perl deps for fedora vs epel + * Mon Apr 04 2016 Rex Dieter - 5.21.0-1 - KDE Frameworks 5.21.0