Replace commented out %define at top of specfile with a comment preceding
the freetype2 define, since rpm expands macros in comments. Also remove -j flag from make, as _smp_mflags expands to -jN already.
This commit is contained in:
parent
d30f481c4d
commit
674c09dfbf
|
@ -1,6 +1,6 @@
|
||||||
# Different systems call the freetype2 RPM different things
|
# Some distributions name their Freetype 2 package "freetype", while others
|
||||||
|
# name it "freetype2". You can define the name your distribution uses here.
|
||||||
%define freetype2 freetype
|
%define freetype2 freetype
|
||||||
# %define freetype2 freetype2
|
|
||||||
|
|
||||||
Summary: Font configuration and customization library
|
Summary: Font configuration and customization library
|
||||||
Name: fontconfig
|
Name: fontconfig
|
||||||
|
@ -43,7 +43,7 @@ will use fontconfig.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts
|
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts
|
||||||
make -j %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in New Issue