!9 Remove BuildRequires python2-devel and Requires python2-fuse
From: @lei_ju Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
0f3c45d30b
12
libewf.spec
12
libewf.spec
@ -1,11 +1,11 @@
|
||||
Name: libewf
|
||||
Version: 20140608
|
||||
Release: 14
|
||||
Release: 15
|
||||
Summary: Library to access the Expert Witness Compression Format (EWF)
|
||||
License: LGPLv3+
|
||||
URL: http://sourceforge.net/projects/libewf/
|
||||
Source0: https://github.com/ArchAssault-Project/libewf/archive/v.20140608.tar.gz
|
||||
BuildRequires: gcc-c++ fuse-devel libuuid-devel openssl-devel zlib-devel python2-devel
|
||||
BuildRequires: gcc-c++ fuse-devel libuuid-devel openssl-devel zlib-devel
|
||||
|
||||
%description
|
||||
Libewf is a library for support of the Expert Witness Compression Format (EWF),
|
||||
@ -15,7 +15,7 @@ libewf allows to read files created by EnCase 1 to 6, linen and FTK Imager.
|
||||
|
||||
%package -n ewftools
|
||||
Summary: Tools for the Expert Witness Compression Format (EWF)
|
||||
Requires: libewf = %{version}-%{release} python2-fuse >= 0.2
|
||||
Requires: libewf = %{version}-%{release}
|
||||
Provides: libewf-tools = %{version}-%{release}
|
||||
Obsoletes: libewf-tools <= %{version}-%{release}
|
||||
|
||||
@ -42,7 +42,7 @@ This package contains man manual for help.
|
||||
%autosetup -n libewf-v.20140608 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-wide-character-type --enable-python \
|
||||
%configure --disable-static --enable-wide-character-type \
|
||||
CFLAGS="${RPM_OPT_FLAGS} -std=gnu89"
|
||||
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
@ -67,7 +67,6 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
|
||||
%files -n ewftools
|
||||
%{_bindir}/ewf*
|
||||
%{python2_sitearch}/pyewf.so
|
||||
|
||||
%files devel
|
||||
%{_includedir}/{libewf.h,libewf/}
|
||||
@ -79,6 +78,9 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
%{_mandir}/man3/*.gz
|
||||
|
||||
%changelog
|
||||
* Mon Oct 26 2020 leiju <leiju4@huawei.com> - 20140608-15
|
||||
- Remove BuildRequires python2-devel and Requires python2-fuse
|
||||
|
||||
* Wed Sep 2 2020 zhangtao <zhangtao221@huawei.com> - 20140608-14
|
||||
- Modify the Source0 Url
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user