From 6d1484e58c0c43ea05ccfd3153ecc1085a76ca8ebc6182a6f0cb0e076351a466 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 22 Jan 2012 16:01:40 +0000 Subject: [PATCH] - enable support for xz and lzo (kernel has support already) OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=13 --- squashfs.changes | 5 +++++ squashfs.spec | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/squashfs.changes b/squashfs.changes index e786d08..60cdb48 100644 --- a/squashfs.changes +++ b/squashfs.changes @@ -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 diff --git a/squashfs.spec b/squashfs.spec index 597c8fe..59ad9be 100644 --- a/squashfs.spec +++ b/squashfs.spec @@ -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