From 472a1adf5eb00f5b89b36fe98cec4bb12f135e63 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 23 Jan 2018 13:12:21 +0000 Subject: [PATCH] New upstream release --- gcab.spec | 31 +++++++++++++++++++++---------- sources | 2 +- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/gcab.spec b/gcab.spec index 21e25fb..f79435b 100644 --- a/gcab.spec +++ b/gcab.spec @@ -1,6 +1,6 @@ Name: gcab -Version: 0.7 -Release: 4%{?dist} +Version: 1.0 +Release: 1%{?dist} Summary: Cabinet file library and tool License: LGPLv2+ @@ -8,11 +8,13 @@ License: LGPLv2+ URL: http://ftp.gnome.org/pub/GNOME/sources/gcab Source0: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz -BuildRequires: intltool +BuildRequires: gettext +BuildRequires: gtk-doc BuildRequires: vala-tools BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: zlib-devel +BuildRequires: meson Requires: libgcab1%{?_isa} = %{version}-%{release} @@ -40,15 +42,14 @@ Libraries, includes, etc. to compile with the gcab library. %setup -q %build -%configure --disable-silent-rules --disable-static -make %{?_smp_mflags} +%meson +%meson_build + +%check +%meson_test %install -rm -rf %{buildroot} -make DESTDIR=%{buildroot} install - -rm -f %{buildroot}%{_libdir}/*.a -rm -f %{buildroot}%{_libdir}/*.la +%meson_install %find_lang %{name} @@ -69,11 +70,21 @@ rm -f %{buildroot}%{_libdir}/*.la %{_datadir}/gir-1.0/GCab-1.0.gir %{_datadir}/gtk-doc/html/gcab/* %{_datadir}/vala/vapi/libgcab-1.0.vapi +%{_datadir}/vala/vapi/libgcab-1.0.deps %{_includedir}/libgcab-1.0/* %{_libdir}/libgcab-1.0.so %{_libdir}/pkgconfig/libgcab-1.0.pc %changelog +* Tue Jan 23 2018 Richard Hughes - 1.0-1 +- New upstream release +- This fixes the security bug known as CVE-2018-5345 +- Add new API for fwupd +- Do not encode timezone in generated files +- Fix countless memory leaks when parsing corrupt files +- Fix the calculation of the checksum on big endian machines +- Switch to the Meson buildsystem + * Wed Aug 02 2017 Fedora Release Engineering - 0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index b29dcb3..979f98b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d8c54c340e56d0b6a8fe082fd04d8090 gcab-0.7.tar.xz +SHA512 (gcab-1.0.tar.xz) = 688238590b5ef68f6245b304948d0107c84af7764f355e01b2239c5411cb7e2dbfb560d6887d6940ca4f8197355e65616a71a8a4acfa48d85d9110952c31f107