Backported changes from Fedora to update License tag.

Resolves: rhbz#1963923
This commit is contained in:
Akira TAGOH 2021-05-25 21:35:46 +09:00
parent 9c300d0bf4
commit a3f26bb679

View File

@ -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
@ -46,7 +47,7 @@ Features:
%package data
Summary: %{name} data files
License: UCD
License: Unicode
BuildArch: noarch
%description data
@ -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,13 +134,18 @@ make %{?_smp_mflags} check
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Wed Apr 21 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-6
* 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.
* Wed Apr 21 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-5
- Suppress documentation in Flatpak builds
- build gir with non-parallel to avoid strange behavior.
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.3-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild