Spec cleanup (#878321)

This commit is contained in:
प्रविण सातपुते 2012-11-20 14:39:28 +05:30
parent 61b20af376
commit 3c1bd838e8
1 changed files with 6 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Summary: Utility to create fonts.scale files for truetype fonts
Name: ttmkfdir
Version: 3.0.9
Release: 36%{?dist}
Release: 37%{?dist}
# This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from
# within this srpm.
@ -19,7 +19,6 @@ Patch9: ttmkfdir-3.0.9-bug434301.patch
# Only licensing attribution is in README, no version.
License: LGPLv2+
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: freetype-devel >= 2.0
BuildRequires: zlib-devel flex
BuildRequires: libtool
@ -47,21 +46,19 @@ by the font server.
%patch9 -p1
%build
make OPTFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/ttmkfdir
%changelog
* Tue Nov 20 2012 Pravin Satpute <psatpute@redhat.com> - 3.0.9-37
- Spec cleanup (#878321)
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild