update URL, tweak perl deps for fedora vs epel

epel8
Rex Dieter 9 years ago
parent 86a3ab949a
commit 8cfc0403f5

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

Loading…
Cancel
Save