Remove redundant tags/sections from specfile

OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2012-05-26 08:46:18 +00:00 committed by Git OBS Bridge
parent 6d1484e58c
commit 8e45d243c6
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 26 08:45:57 UTC 2012 - jengelh@inai.de
- Remove redundant tags/sections from specfile
- Parallel build with %_smp_mflags
-------------------------------------------------------------------
Sun Jan 22 17:01:12 CET 2012 - dmueller@suse.de

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: squashfs
BuildRequires: attr-devel
BuildRequires: lzma-devel
@ -41,15 +42,12 @@ squashfs images.
%build
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
make -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1
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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README README-%version PERFORMANCE.README CHANGES