OBS User unknown 2009-02-09 01:05:51 +00:00 committed by Git OBS Bridge
parent 0d50561807
commit dbbbced610
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 8 21:48:27 CET 2009 - coolo@suse.de
- fix handling of hardlinks to compressed files
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 7 21:05:30 CET 2009 - coolo@suse.de Sat Feb 7 21:05:30 CET 2009 - coolo@suse.de

View File

@ -24,7 +24,7 @@ Group: Development/Tools/Building
AutoReqProv: on AutoReqProv: on
Summary: Build Result Compare Script Summary: Build Result Compare Script
Version: 2009.01.27 Version: 2009.01.27
Release: 6 Release: 7
Source: same-build-result.sh Source: same-build-result.sh
Source1: rpm-check.sh Source1: rpm-check.sh
Source2: COPYING Source2: COPYING
@ -54,6 +54,8 @@ install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/%_defaultdocdir/%name/
/usr/lib/build /usr/lib/build
%changelog %changelog
* Sun Feb 08 2009 coolo@suse.de
- fix handling of hardlinks to compressed files
* Sat Feb 07 2009 coolo@suse.de * Sat Feb 07 2009 coolo@suse.de
- fix handling of -32bit and -64bit - fix handling of -32bit and -64bit
* Sat Feb 07 2009 coolo@suse.de * Sat Feb 07 2009 coolo@suse.de

View File

@ -175,11 +175,13 @@ check_single_file()
perl -E "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';" perl -E "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';"
;; ;;
*.bz2) *.bz2)
bunzip2 old/$file new/$file bunzip2 -c old/$file > old/${file/.bz2/}
bunzip2 -c new/$file > new/${file/.bz2/}
check_single_file ${file/.bz2/} check_single_file ${file/.bz2/}
continue;; continue;;
*.gz) *.gz)
gunzip old/$file new/$file gunzip -c old/$file > old/${file/.gz/}
gunzip -c new/$file > new/${file/.gz/}
check_single_file ${file/.gz/} check_single_file ${file/.gz/}
continue;; continue;;
esac esac