Fix valgrind patches.

This commit is contained in:
Gwyn Ciesla 2019-02-13 11:34:19 -06:00
parent 81d4aafc46
commit 0a141ec06b

View File

@ -1,15 +1,15 @@
Name: libxdg-basedir Name: libxdg-basedir
Version: 1.2.0 Version: 1.2.0
Release: 16%{?dist} Release: 17%{?dist}
Summary: Implementation of the XDG Base Directory Specifications Summary: Implementation of the XDG Base Directory Specifications
License: MIT License: MIT
URL: https://github.com/devnev/libxdg-basedir URL: https://github.com/devnev/libxdg-basedir
Source0: https://github.com/devnev/%{name}/archive/%{name}-%{version}.tar.gz Source0: https://github.com/devnev/%{name}/archive/%{name}-%{version}.tar.gz
Patch0: libxdg-basedir-leak.patch Patch0: libxdg-basedir-leak.patch
Patch1: libxdg-basedir-valgrind-children.patch Patch1: libxdg-basedir-valgrind-libtool.patch
Patch2: libxdg-basedir-basedir-bounds-error.patch Patch2: libxdg-basedir-basedir-bounds-error.patch
BuildRequires: valgrind BuildRequires: valgrind libtool
%description %description
The XDG Base Directory Specification defines where should user files The XDG Base Directory Specification defines where should user files
@ -45,6 +45,8 @@ developing applications that use %{name}.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%patch2 -p1
%build %build
%configure --disable-static %configure --disable-static
@ -77,6 +79,9 @@ make check USE_VALGRIND=1
%doc doc/html/ %doc doc/html/
%changelog %changelog
* Wed Feb 13 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-17
- Updated valgrind patch.
* Tue Feb 12 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-16 * Tue Feb 12 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-16
- Relocated upstream, crash patch. - Relocated upstream, crash patch.