3
0
forked from pool/build-compare

Accepting request 18607 from openSUSE:Tools

Copy from openSUSE:Tools/build-compare based on submit request 18607 from user mlschroe

OBS-URL: https://build.opensuse.org/request/show/18607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=14
This commit is contained in:
OBS User autobuild 2009-08-26 15:01:46 +00:00 committed by Git OBS Bridge
parent cdeec9d412
commit 45c78acc6d
3 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Aug 25 10:28:17 CEST 2009 - mls@suse.de
- the COPYRIGHT tag does not exist, map it back to LICENSE to
be backward compatible
-------------------------------------------------------------------
Mon Aug 17 22:24:50 CEST 2009 - aj@suse.de
- Handle texi2html output.
-------------------------------------------------------------------
Thu Aug 6 09:23:17 CEST 2009 - aj@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package build-compare (Version 2009.08.06)
# spec file for package build-compare (Version 2009.08.20)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -23,7 +23,7 @@ License: GPL v2 or later
Group: Development/Tools/Building
AutoReqProv: on
Summary: Build Result Compare Script
Version: 2009.08.06
Version: 2009.08.20
Release: 1
Source: same-build-result.sh
Source1: rpm-check.sh

View File

@ -106,7 +106,7 @@ QF="$QF %{VERSION} %{EPOCH}\\n"
QF="$QF %{SUMMARY}\\n%{DESCRIPTION}\\n"
# ignored for now
#QF="$QF %{VENDOR} %{DISTRIBUTION}"
QF="$QF %{LICENSE} %{COPYRIGHT}\\n"
QF="$QF %{LICENSE} %{LICENSE}\\n"
QF="$QF %{GROUP} %{URL} %{EXCLUDEARCH} %{EXCLUDEOS} %{EXCLUSIVEARCH}\\n"
QF="$QF %{EXCLUSIVEOS} %{RPMVERSION} %{PLATFORM}\\n"
QF="$QF %{PAYLOADFORMAT} %{PAYLOADCOMPRESSOR} %{PAYLOADFLAGS}\\n"
@ -329,6 +329,13 @@ check_single_file()
sed -i -e "s,POT-Creation-Date: ....-..-.. ..:..+....,POT-Creation-Date: 1970-01-01 00:00+0000," $f
done
;;
/usr/share/doc/packages/*/*.html)
# texi2html output, e.g. in kvm, indent
for f in old/$file new/$file; do
sed -i -e "s|^<!-- Created on .*, 20.. by texi2html .\...$|<!-- Created on August 7, 2009 by texi2html 1.82|" $f
sed -i -e 's|^ This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|' $f
done
;;
/usr/share/javadoc/*/*.html|/usr/share/javadoc/*/*/*.html)
# There are more timestamps in html, so far we handle only some primitive versions.
for f in old/$file new/$file; do