From b0fabbf543de61db61c55f7aa40d31b45b879a1f Mon Sep 17 00:00:00 2001 From: chenyanpanHW Date: Fri, 30 Jul 2021 22:37:34 +0800 Subject: [PATCH] delete -S git from %autosetup, and delete BuildRequires git (cherry picked from commit c0b56a42d23a69162983983547817df602dba30e) --- file.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/file.spec b/file.spec index 56e8b9c..86b440e 100644 --- a/file.spec +++ b/file.spec @@ -1,6 +1,6 @@ Name: file Version: 5.39 -Release: 5 +Release: 6 Summary: A tool to identify the type of a particular file type License: BSD URL: http://www.darwinsys.com/file/ @@ -10,7 +10,7 @@ Patch1: 0001-file-localmagic.patch Patch2: 0002-improve-detection-of-static-pie-binaries.patch Requires: %{name}-libs = %{version}-%{release} -BuildRequires: autoconf automake libtool git zlib-devel +BuildRequires: autoconf automake libtool zlib-devel %description The program checks to see if the file is empty,or if @@ -55,7 +55,7 @@ This package contains the Python 3 bindings to access to the libmagic API. The libmagic library is also used by the familiar file(1) command. %prep -%autosetup -p1 -S git +%autosetup -p1 iconv doc/libmagic.man -f iso-8859-1 -t utf-8 -o doc/libmagic.man_ touch -r doc/libmagic.man doc/libmagic.man_ @@ -129,6 +129,9 @@ make check %{python3_sitelib}/__pycache__/* %changelog +* Fri Jul 30 2021 chenyanpanHW - 5.39-6 +- DESC: delete -S git from %autosetup, and delete BuildRequires git + * Fri Oct 30 2020 yanglongkang - 5.39-5 - remove python2 dependency -- Gitee