From 3ccb5a7b9a89ae6d63f8ec19d24ee156bd797298 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Mon, 10 Jun 2013 13:32:15 -0600 Subject: [PATCH] Update to latest upstream. --- .gitignore | 1 + libbsd-0.5.1-clearenv.patch | 12 ------------ libbsd.spec | 9 +++++---- sources | 2 +- 4 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 libbsd-0.5.1-clearenv.patch diff --git a/.gitignore b/.gitignore index eda68c0..e1aaa6b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ libbsd-0.2.0.tar.gz /libbsd-0.4.1.tar.gz /libbsd-0.4.2.tar.gz /libbsd-0.5.1.tar.xz +/libbsd-0.5.2.tar.xz diff --git a/libbsd-0.5.1-clearenv.patch b/libbsd-0.5.1-clearenv.patch deleted file mode 100644 index 2afbe4e..0000000 --- a/libbsd-0.5.1-clearenv.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up libbsd-0.5.1/src/setproctitle.c.clearenv libbsd-0.5.1/src/setproctitle.c ---- libbsd-0.5.1/src/setproctitle.c.clearenv 2013-06-06 14:01:44.372445400 -0600 -+++ libbsd-0.5.1/src/setproctitle.c 2013-06-06 14:02:37.534419993 -0600 -@@ -59,7 +59,7 @@ spt_min(size_t a, size_t b) - static int - spt_clearenv(void) - { --#ifdef HAVE_CLEARENV -+#if 0 // was ifdef HAVE_CLEARENV, see Red Hat bug 971513 - return clearenv(); - #else - char **tmp; diff --git a/libbsd.spec b/libbsd.spec index f2767ee..9509173 100644 --- a/libbsd.spec +++ b/libbsd.spec @@ -1,13 +1,12 @@ Name: libbsd -Version: 0.5.1 -Release: 2%{?dist} +Version: 0.5.2 +Release: 1%{?dist} Summary: Library providing BSD-compatible functions for portability URL: http://libbsd.freedesktop.org/ License: BSD and ISC and Copyright only and Public Domain Group: System Environment/Libraries Source0: http://libbsd.freedesktop.org/releases/libbsd-%{version}.tar.xz -Patch0: libbsd-0.5.1-clearenv.patch %description libbsd provides useful functions commonly found on BSD systems, and @@ -26,7 +25,6 @@ Development files for the libbsd library. %prep %setup -q -%patch0 -p1 -b .clearenv %configure @@ -64,6 +62,9 @@ rm %{buildroot}%{_libdir}/%{name}.la %{_libdir}/pkgconfig/%{name}-overlay.pc %changelog +* Mon Jun 10 2013 Eric Smith - 0.5.2-1 +- Update to latest upstream release. Remove patch 0. + * Thu Jun 06 2013 Eric Smith - 0.5.1-2 - Add patch to avoid calling clearenv() in setproctitle.c, bug #971513. diff --git a/sources b/sources index 3db1aad..2fbd665 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22c3ad2b17fde284793f82201f262cbd libbsd-0.5.1.tar.xz +be8b2e0dc4614699834c49693574fd1a libbsd-0.5.2.tar.xz