From df91253f0e7732651f15ae8c6aaf771c93153452 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 17 Jan 2019 21:41:16 +0100 Subject: [PATCH] Remove unused function --- libtevent.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libtevent.spec b/libtevent.spec index 7cb54da..318df53 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -84,21 +84,6 @@ Python 3 bindings for libtevent %endif %prep -# Update timestamps on the files touched by a patch, to avoid non-equal -# .pyc/.pyo files across the multilib peers within a build, where "Level" -# is the patch prefix option (e.g. -p1) -# Taken from specfile for python-simplejson -UpdateTimestamps() { - Level=$1 - PatchFile=$2 - - # Locate the affected files: - for f in $(diffstat $Level -l $PatchFile); do - # Set the files to have the same timestamp as that of the patch: - touch -r $PatchFile $f - done -} - %autosetup -n tevent-%{version} -p1 %build