From 55231eb9e8dee01bf38d31d20932a284720319794cc28d01419c8a4125d934a3 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 6 Mar 2015 12:24:46 +0000 Subject: [PATCH] Accepting request 289636 from home:pluskalm:branches:filesystems - Use url for source - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/289636 OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=22 --- squashfs.changes | 6 ++++++ squashfs.spec | 29 +++++++++++++++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/squashfs.changes b/squashfs.changes index ef86361..0795f8a 100644 --- a/squashfs.changes +++ b/squashfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 6 08:31:28 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Mon Jun 23 18:58:00 UTC 2014 - crrodriguez@opensuse.org diff --git a/squashfs.spec b/squashfs.spec index 8ac98aa..170f648 100644 --- a/squashfs.spec +++ b/squashfs.spec @@ -1,7 +1,7 @@ # # spec file for package squashfs # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,27 @@ Name: squashfs +Version: 4.3 +Release: 0 +Summary: A Read-Only File System with Efficient Compression +License: GPL-2.0+ +Group: System/Filesystems +Url: http://squashfs.sourceforge.net/ +Source0: http://sourceforge.net/projects/squashfs/files/squashfs/%{name}%{version}/%{name}%{version}.tar.gz +Patch0: squashfs-64k.patch +BuildRequires: liblz4-devel BuildRequires: lzma-devel BuildRequires: lzo-devel BuildRequires: zlib-devel Supplements: filesystem(squashfs) -Version: 4.3 -Release: 0 -Source0: %{name}%{version}.tar.gz -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 squashfs images. %prep -%setup -n squashfs%{version} +%setup -q -n squashfs%{version} %patch0 -p1 %build @@ -44,12 +45,12 @@ sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 %install -mkdir -p $RPM_BUILD_ROOT/usr/bin -install -m 755 squashfs-tools/{un,mk}squashfs $RPM_BUILD_ROOT/usr/bin +mkdir -p %{buildroot}%{_bindir} +install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}%{_bindir} %files %defattr(-,root,root) -%doc README README-%version PERFORMANCE.README CHANGES -/usr/bin/*squashfs +%doc README README-%{version} PERFORMANCE.README CHANGES +%{_bindir}/*squashfs %changelog