Remove unused function

This commit is contained in:
Lukas Slebodnik 2019-01-17 21:41:16 +01:00
parent 9bd04a3716
commit df91253f0e

View File

@ -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