- enable support for xz and lzo (kernel has support already)

OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=13
This commit is contained in:
Dirk Mueller 2012-01-22 16:01:40 +00:00 committed by Git OBS Bridge
parent d28e9ea89d
commit 6d1484e58c
2 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 22 17:01:12 CET 2012 - dmueller@suse.de
- enable support for xz and lzo (kernel has support already)
-------------------------------------------------------------------
Thu Nov 3 19:00:03 UTC 2011 - dvaleev@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package squashfs (Version 4.2)
# spec file for package squashfs
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: squashfs
BuildRequires: attr-devel zlib-devel
License: GPL-2.0+
Group: System/Filesystems
BuildRequires: attr-devel
BuildRequires: lzma-devel
BuildRequires: lzo-devel
BuildRequires: zlib-devel
Supplements: filesystem(squashfs)
Version: 4.2
Release: 1
Release: 0
Source0: %{name}%{version}.tar.gz
Patch0: squashfs-64k.patch
Patch0: squashfs-64k.patch
Url: http://squashfs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Read-Only File System with Efficient Compression
License: GPL-2.0+
Group: System/Filesystems
%description
This package contains the userland utilities to create and read
@ -41,7 +41,7 @@ squashfs images.
%build
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
make -C squashfs-tools
make -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin