commit 8bab6f92637be33ad873d3a664a979d92c24d5a2 Author: Parag Nemade panemade@gmail.com Date: Tue May 22 14:46:49 2012 +0530
Resolves:rh#761409:remove fedora-packager dependency from -tools in RHEL
fontpackages.spec | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) --- diff --git a/fontpackages.spec b/fontpackages.spec index 4b8597c..908a03e 100644 --- a/fontpackages.spec +++ b/fontpackages.spec @@ -4,7 +4,7 @@
Name: fontpackages Version: 1.44 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Common directory and macro definitions used by font packages
Group: Development/System @@ -47,7 +47,13 @@ Summary: Tools used to check fonts and font packages
Requires: fontconfig, fontforge Requires: curl, make, mutt -Requires: fedora-packager, rpmlint, yum-utils +Requires: rpmlint, yum-utils + +# repo-font-audit script need to run fedoradev-pkgowners command +# which is available on Fedora only and not on RHEL. +%if 0%{?fedora} +Requires: fedora-packager +%endif
%description tools This package contains tools used to check fonts and font packages @@ -55,10 +61,11 @@ This package contains tools used to check fonts and font packages
%prep %setup -q - +%if 0%{?rhel} +sed -i 's|/usr/bin/fedoradev-pkgowners|""|g' bin/repo-font-audit +%endif
%build - for file in bin/repo-font-audit bin/compare-repo-font-audit ; do sed -i "s|^DATADIR([[:space:]]*)?=(.*)$|DATADIR=%{_datadir}/%{name}|g" \ $file @@ -133,6 +140,9 @@ rm -fr %{buildroot} %{_bindir}/*
%changelog +* Tue May 22 2012 Parag <panemade AT fedoraproject DOT org> - 1.44-4 +- Resolves:rh#761409:remove fedora-packager dependency from -tools in RHEL + * Fri Jan 13 2012 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.44-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fonts-bugs@lists.fedoraproject.org