Add BuildRequires: gcc-c++ as per packaging guidelines

Removed group tag
Used %autosetup
This commit is contained in:
Parag Nemade 2018-02-19 12:29:43 +05:30
parent 6ac52e1582
commit a0ef2bce51
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -1,10 +1,9 @@
Summary: Utility to create fonts.scale files for truetype fonts
Name: ttmkfdir
Version: 3.0.9
Release: 52%{?dist}
Release: 53%{?dist}
# Only licensing attribution is in README, no version.
License: LGPLv2+
Group: Applications/System
# This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from
# within this srpm.
@ -26,6 +25,7 @@ BuildRequires: freetype-devel >= 2.0
BuildRequires: flex libtool
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: gcc-c++
%description
ttmkfdir is a utility used to create fonts.scale files in
@ -33,18 +33,7 @@ TrueType font directories in order to prepare them for use
by the font server.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%autosetup -p1
%build
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
@ -60,6 +49,11 @@ cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
%{_mandir}/man1/ttmkfdir.1.gz
%changelog
* Mon Feb 19 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-53
- Add BuildRequires: gcc-c++ as per packaging guidelines
- Removed group tag
- Used %%autosetup
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild