2011-12-01 16:35:25 +01:00
|
|
|
Upstream: Never
|
|
|
|
|
|
|
|
Old Suse spec files have a pseudo release string which uses characters
|
|
|
|
newer versions of rpmbuild don't like. Filter them out to make rpmbuild
|
|
|
|
happy again. Packages in openSUSE 11.4 and later no longer need this.
|
|
|
|
|
2012-01-29 20:26:04 +01:00
|
|
|
---
|
2015-02-16 16:03:39 +01:00
|
|
|
quilt/setup.in | 8 ++++++++
|
2012-01-29 20:26:04 +01:00
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
2015-02-16 16:03:39 +01:00
|
|
|
--- a/quilt/setup.in
|
|
|
|
+++ b/quilt/setup.in
|
2022-02-15 15:13:49 +01:00
|
|
|
@@ -213,6 +213,14 @@ inspect()
|
2016-11-10 10:51:12 +01:00
|
|
|
ln -s $QUILT_DIR/scripts/inspect-wrapper $tmpdir/bin/unzip
|
2019-03-29 16:43:05 +01:00
|
|
|
ln -s $QUILT_DIR/scripts/inspect-wrapper $tmpdir/bin/7z
|
2011-12-01 16:35:25 +01:00
|
|
|
|
2015-02-16 16:03:39 +01:00
|
|
|
+ # Older versions of Suse packages have a symbolic release number, and
|
|
|
|
+ # rpmbuild won't like that, so change it to something compliant.
|
|
|
|
+ if grep -q '^Release:.*[<>]' "$specdir/$specfile"
|
|
|
|
+ then
|
|
|
|
+ sed -e '/^Release:/s/[<>]//g' < "$specdir/$specfile" > $tmpdir/"$specfile"
|
|
|
|
+ specdir=$tmpdir
|
|
|
|
+ fi
|
2011-12-01 16:35:25 +01:00
|
|
|
+
|
2015-02-16 16:03:39 +01:00
|
|
|
# Redirect file descriptors
|
|
|
|
# 5 is used in verbose mode, 4 in non-verbose mode, and 2 for both (real errors)
|
|
|
|
if [ -n "$verbose" ]
|