From a5dc4c1dfb49d3f266c2f8471029af158dd995ab Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 4 Sep 2018 17:48:40 -0400 Subject: [PATCH] Remove bundled tinycthread to be sure it's unused. --- R-later.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/R-later.spec b/R-later.spec index 912ad6b..321fdf9 100644 --- a/R-later.spec +++ b/R-later.spec @@ -9,8 +9,7 @@ Version: 0.7.4 Release: 1%{?dist} Summary: Utilities for Delaying Function Execution -# Main GPLv2+; TinyCThread: MIT -License: GPLv2+ and MIT +License: GPLv2+ URL: https://cran.r-project.org/web/packages/%{packname}/index.html Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz @@ -50,6 +49,10 @@ Development files for %{name}. %prep %setup -q -c -n %{packname} +# Ensure we don't accidentally use this bundled code. +rm -r %{packname}/src/tinycthread +sed -i -e '/tinycthread/d' %{packname}/MD5 + %build