| |
@@ -0,0 +1,52 @@
|
| |
+ From 125af82dbe93eddadb7ec10eebac5087e9fbc451 Mon Sep 17 00:00:00 2001
|
| |
+ From: Kai Pastor <dg0yt@darc.de>
|
| |
+ Date: Fri, 1 Dec 2023 21:20:39 +0100
|
| |
+ Subject: [PATCH 1/3] Test --modversion with constraint
|
| |
+ MIME-Version: 1.0
|
| |
+ Content-Type: text/plain; charset=UTF-8
|
| |
+ Content-Transfer-Encoding: 8bit
|
| |
+
|
| |
+ Signed-off-by: Petr Písař <ppisar@redhat.com>
|
| |
+ ---
|
| |
+ tests/regress.sh | 21 +++++++++++++++++++++
|
| |
+ 1 file changed, 21 insertions(+)
|
| |
+
|
| |
+ diff --git a/tests/regress.sh b/tests/regress.sh
|
| |
+ index 0c81415..bda3297 100755
|
| |
+ --- a/tests/regress.sh
|
| |
+ +++ b/tests/regress.sh
|
| |
+ @@ -27,6 +27,9 @@ tests_init \
|
| |
+ modversion_fullpath \
|
| |
+ modversion_provides \
|
| |
+ modversion_uninstalled \
|
| |
+ + modversion_one_word_expression \
|
| |
+ + modversion_two_word_expression \
|
| |
+ + modversion_three_word_expression \
|
| |
+ pcpath \
|
| |
+ virtual_variable \
|
| |
+ fragment_collision \
|
| |
+ @@ -301,3 +304,21 @@ modversion_uninstalled_body()
|
| |
+ atf_check -o inline:"1.2.3\n" \
|
| |
+ pkgconf --with-path="${selfdir}/lib1" --modversion omg
|
| |
+ }
|
| |
+ +
|
| |
+ +modversion_one_word_expression_body()
|
| |
+ +{
|
| |
+ + atf_check -o inline:"1.2.3\n" \
|
| |
+ + pkgconf --with-path="${selfdir}/lib1" --modversion "foo > 1.0"
|
| |
+ +}
|
| |
+ +
|
| |
+ +modversion_two_word_expression_body()
|
| |
+ +{
|
| |
+ + atf_check -o inline:"1.2.3\n" \
|
| |
+ + pkgconf --with-path="${selfdir}/lib1" --modversion foo "> 1.0"
|
| |
+ +}
|
| |
+ +
|
| |
+ +modversion_three_word_expression_body()
|
| |
+ +{
|
| |
+ + atf_check -o inline:"1.2.3\n" \
|
| |
+ + pkgconf --with-path="${selfdir}/lib1" --modversion foo ">" 1.0
|
| |
+ +}
|
| |
+ --
|
| |
+ 2.44.0
|
| |
+
|
| |
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2264921 which in turn fixed perl-ExtUtils-PkgConfig and building perl-Gnome2-VFS.
Please also apply to F40.