Add gcc buildrequires

f41
Timm Bäder 4 years ago
parent 91cb15b58d
commit 9ec75c04b0

@ -5,7 +5,7 @@
Name: liblangtag
Version: 0.6.3
Release: 6%{?dist}
Release: 7%{?dist}
Summary: An interface library to access tags for identifying languages
License: LGPLv3+ or MPLv2.0
@ -24,6 +24,7 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: make
BuildRequires: gcc
%description
%{name} is an interface library to access tags for identifying
@ -90,10 +91,10 @@ sed -i \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
libtool
export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
%ldconfig_scriptlets
@ -102,7 +103,7 @@ rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
%check
export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} check
%make_build check
%files
%doc AUTHORS NEWS README
@ -133,6 +134,10 @@ make %{?_smp_mflags} check
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Wed May 19 2021 Timm Bäder <tbaeder@redhat.com> - 0.6.3-7
- Add gcc buildrequires
- Use make macros
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-6
- Update License field for liblangtag-data.
It is actually Unicode but not UCD.

Loading…
Cancel
Save