- fix tarball name
- make the build verbose - add lzo-devel BR
This commit is contained in:
parent
3a6b6497d0
commit
a8db99e9d8
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ libarchive-2.8.4.tar.gz
|
|||||||
/libarchive-3.0.3.tar.gz
|
/libarchive-3.0.3.tar.gz
|
||||||
/libarchive-3.0.4.tar.gz
|
/libarchive-3.0.4.tar.gz
|
||||||
/v3.1.1.tar.gz
|
/v3.1.1.tar.gz
|
||||||
|
/libarchive-3.1.1.tar.gz
|
||||||
|
@ -6,7 +6,7 @@ Summary: A library for handling streaming archive formats
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://libarchive.github.com/
|
URL: http://libarchive.github.com/
|
||||||
Source0: https://github.com/libarchive/libarchive/archive/v%{version}.tar.gz
|
Source0: https://github.com/libarchive/libarchive/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
|
||||||
@ -15,6 +15,7 @@ BuildRequires: sharutils
|
|||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
@ -68,7 +69,7 @@ build/autogen.sh
|
|||||||
# remove rpaths
|
# remove rpaths
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user