+++ /dev/null
---- squashfs-tools/Makefile.orig 2010-02-13 14:00:54.000000000 -0600
-+++ squashfs-tools/Makefile 2010-02-13 14:02:58.000000000 -0600
-@@ -27,8 +27,8 @@
- UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \
- unsquash-4.o swap.o compressor.o gzip_wrapper.o
-
--CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-- -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall
-+CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-+ -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"
-
- LIBS =
- ifdef LZMA_SUPPORT
+++ /dev/null
---- squashfs-tools/Makefile.orig 2010-02-13 14:05:21.000000000 -0600
-+++ squashfs-tools/Makefile 2010-02-13 14:05:29.000000000 -0600
-@@ -11,7 +11,7 @@
- # work) - download and unpack it, uncomment and set LZMA_DIR to unpacked source,
- # and uncomment the LZMA_SUPPORT line below.
-
--#XZ_SUPPORT = 1
-+XZ_SUPPORT = 1
- #LZMA_SUPPORT = 1
- #LZMA_DIR = ../../../LZMA/lzma465
-
+++ /dev/null
-###############################################################################
-# IPFire.org - An Open Source Firewall Solution #
-# Copyright (C) - IPFire Development Team <info@ipfire.org> #
-###############################################################################
-
-name = squashfs-tools
-version = 4.1
-release = 1
-
-groups = System/Filesystem
-url = http://squashfs.sf.net/
-license = GPLv2+
-summary = Utility for the creation of squashfs filesystems.
-
-description
- Squashfs is a highly compressed read-only filesystem for Linux.
-end
-
-source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
-sources = squashfs-%{version}.tar.gz
-
-build
- requires
- libattr-devel
- xz-devel
- zlib-devel
- end
-
- DIR_APP = %{DIR_SRC}/squashfs/squashfs-tools
-
- make_build_targets = RPM_OPT_FLAGS="%{CFLAGS}"
-
- install
- mkdir -pv %{BUILDROOT}/usr/bin
- install -m 755 mksquashfs %{BUILDROOT}/usr/bin
- install -m 755 unsquashfs %{BUILDROOT}/usr/bin
- end
-end
-
-# XXX This package has a very weird dependency to libgcc_s.so.1.
-# Can we fix this in a non-hacky way?
-packages
- package %{name}
- requires = libgcc_s.so.1
- end
-
- package %{name}-debuginfo
- template DEBUGINFO
- end
-end