-# TODO:
-# - update license-installer.sh and apropriate deps.
-# - move SourceN outside if block, it doesn't work with builder.
#
# Conditional build:
%bcond_with license_agreement # generates package
Name: %{base_name}-installer
%endif
Version: 1.0
-Release: 2%{?with_license_agreement:wla}
+Release: 3%{?with_license_agreement:wla}
License: Nondistributable but free (See Bitstream-Cyberfonts-licence.txt)
Group: Fonts
%if %{with license_agreement}
Requires(post,postun): fontpostinst
%else
Source0: http://svn.pld-linux.org/svn/license-installer/license-installer.sh
-# NoSource0-md5: 4fb1600353dd57fe088e0b12fb0ecac2
+# NoSource0-md5: 329c25f457fea66ec502b7ef70cb9ede
Source1: %{base_name}-licence.txt
Requires: unzip
-Requires: rpm-build-tools >= 4.4.35
+Requires: rpm-build-macros >= 1.544
+Requires: rpm-build-tools >= 4.4.37
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)