- update to 3.0
- include unsquashfs
This commit is contained in:
parent
d75a0d7024
commit
1f2de82fe5
@ -1 +1 @@
|
||||
squashfs2.2-r2.tar.gz
|
||||
squashfs3.0.tar.gz
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
a8d09a217240127ae4d339e8368d2de1 squashfs2.2-r2.tar.gz
|
||||
9fd05d0bfbb712f5fb95edafea5bc733 squashfs3.0.tar.gz
|
||||
|
@ -1,10 +1,10 @@
|
||||
--- squashfs2.2-r2/squashfs-tools/Makefile.cflags 2005-12-01 14:53:27.000000000 -0500
|
||||
+++ squashfs2.2-r2/squashfs-tools/Makefile 2005-12-01 14:56:24.000000000 -0500
|
||||
--- squashfs3.0/squashfs-tools/Makefile.orig 2006-03-15 16:36:20.000000000 -0500
|
||||
+++ squashfs3.0/squashfs-tools/Makefile 2006-06-23 11:47:53.000000000 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
INCLUDEDIR = .
|
||||
|
||||
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
|
||||
+CFLAGS := $(RPM_OPT_FLAGS) -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
|
||||
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
|
||||
+CFLAGS := $(RPM_OPT_FLAGS) -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
|
||||
|
||||
all: mksquashfs unsquashfs
|
||||
|
||||
mksquashfs: mksquashfs.o read_fs.o sort.o
|
||||
$(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
|
||||
|
@ -1,11 +1,11 @@
|
||||
Summary: squashfs utilities
|
||||
Name: squashfs-tools
|
||||
Version: 2.2r2
|
||||
Release: 2.2.1
|
||||
Version: 3.0
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
URL: http://squashfs.sf.net
|
||||
Source0: squashfs2.2-r2.tar.gz
|
||||
Source0: squashfs3.0.tar.gz
|
||||
Patch0: squashfs-cflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: zlib-devel
|
||||
@ -15,8 +15,8 @@ Squashfs is a highly compressed read-only filesystem for Linux. This package
|
||||
contains the utilities for manipulating squashfs filesystems.
|
||||
|
||||
%prep
|
||||
%setup -q -n squashfs2.2-r2
|
||||
%patch0 -p1
|
||||
%setup -q -n squashfs3.0
|
||||
%patch0 -p1 -b .cflags
|
||||
|
||||
%build
|
||||
pushd squashfs-tools
|
||||
@ -24,8 +24,9 @@ make RPM_OPT_FLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin $RPM_BUILD_ROOT/usr/sbin
|
||||
install -m 755 squashfs-tools/mksquashfs $RPM_BUILD_ROOT/sbin/mksquashfs
|
||||
install -m 755 squashfs-tools/unsquashfs $RPM_BUILD_ROOT/usr/sbin/unsquashfs
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -35,8 +36,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc README PERFORMANCE.README COPYING ACKNOWLEDGEMENTS CHANGES
|
||||
/sbin/mksquashfs
|
||||
/usr/sbin/unsquashfs
|
||||
|
||||
%changelog
|
||||
* Fri Jun 23 2006 Jeremy Katz <katzj@redhat.com> - 3.0-1
|
||||
- update to 3.0
|
||||
- include unsquashfs
|
||||
|
||||
* Tue May 16 2006 Jeremy Katz <katzj@redhat.com>
|
||||
- add BR on zlib-devel (Andreas Thienemann, #191880)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user