[libarchive] - fix tarball name - make the build verbose - add lzo-devel BR

Tomas Bzatek tbzatek at fedoraproject.org
Thu Jan 17 11:09:44 UTC 2013


commit a8db99e9d8aca883a5d75bfadc05c6437b498998
Author: Tomas Bzatek <tbzatek at redhat.com>
Date:   Thu Jan 17 12:08:39 2013 +0100

    - fix tarball name
    - make the build verbose
    - add lzo-devel BR

 .gitignore      |    1 +
 libarchive.spec |    5 +++--
 sources         |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3feacb6..84b7ad2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ libarchive-2.8.4.tar.gz
 /libarchive-3.0.3.tar.gz
 /libarchive-3.0.4.tar.gz
 /v3.1.1.tar.gz
+/libarchive-3.1.1.tar.gz
diff --git a/libarchive.spec b/libarchive.spec
index 8b2a2bb..b4f6928 100644
--- a/libarchive.spec
+++ b/libarchive.spec
@@ -6,7 +6,7 @@ Summary:        A library for handling streaming archive formats
 Group:          System Environment/Libraries
 License:        BSD
 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)
 
 
@@ -15,6 +15,7 @@ BuildRequires: sharutils
 BuildRequires: zlib-devel
 BuildRequires: bzip2-devel
 BuildRequires: xz-devel
+BuildRequires: lzo-devel
 BuildRequires: e2fsprogs-devel
 BuildRequires: libacl-devel
 BuildRequires: libattr-devel
@@ -68,7 +69,7 @@ build/autogen.sh
 # remove rpaths
 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
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 
 %install
diff --git a/sources b/sources
index 4572e2a..3c98732 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b482463d73370bdbe8e234095a6ef6c9  v3.1.1.tar.gz
+b482463d73370bdbe8e234095a6ef6c9  libarchive-3.1.1.tar.gz


More information about the scm-commits mailing list