summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-31 14:07:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-31 14:07:59 +0000
commit210fb9c922a38df29dcb17d05a0cdf3212994658 (patch)
tree287302599f0dab873e0b24564622b0611ba6e17e /t/data/SPECS
parent8de13f3008b9a92747bc33337522e6c85ee60e32 (diff)
downloadurpmi-210fb9c922a38df29dcb17d05a0cdf3212994658.tar
urpmi-210fb9c922a38df29dcb17d05a0cdf3212994658.tar.gz
urpmi-210fb9c922a38df29dcb17d05a0cdf3212994658.tar.bz2
urpmi-210fb9c922a38df29dcb17d05a0cdf3212994658.tar.xz
urpmi-210fb9c922a38df29dcb17d05a0cdf3212994658.zip
add a test case for bug #31130 (--auto-select not upgrading pkg "a" providing
"c" because pkg "b" provides a new version of "c")
Diffstat (limited to 't/data/SPECS')
-rw-r--r--t/data/SPECS/obsolete-and-provide/a-1.spec14
-rw-r--r--t/data/SPECS/obsolete-and-provide/a-2.spec14
-rw-r--r--t/data/SPECS/obsolete-and-provide/b-3.spec14
3 files changed, 42 insertions, 0 deletions
diff --git a/t/data/SPECS/obsolete-and-provide/a-1.spec b/t/data/SPECS/obsolete-and-provide/a-1.spec
new file mode 100644
index 00000000..acddee43
--- /dev/null
+++ b/t/data/SPECS/obsolete-and-provide/a-1.spec
@@ -0,0 +1,14 @@
+Summary: a
+Name: a
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+Provides: c = %{version}
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/obsolete-and-provide/a-2.spec b/t/data/SPECS/obsolete-and-provide/a-2.spec
new file mode 100644
index 00000000..68193e92
--- /dev/null
+++ b/t/data/SPECS/obsolete-and-provide/a-2.spec
@@ -0,0 +1,14 @@
+Summary: a
+Name: a
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+Provides: c = %{version}
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/obsolete-and-provide/b-3.spec b/t/data/SPECS/obsolete-and-provide/b-3.spec
new file mode 100644
index 00000000..1936a709
--- /dev/null
+++ b/t/data/SPECS/obsolete-and-provide/b-3.spec
@@ -0,0 +1,14 @@
+Summary: b
+Name: b
+Version: 3
+Release: 1
+License: x
+Group: x
+Url: x
+Provides: c = %{version}
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files