From c617573f7ca65da803615991419db926420f22b1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jul 2008 20:46:40 +0000 Subject: o handle "unrequested orphans" (similar to "deborphan") --- t/data/SPECS/orphans-2/a-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/bb-2.spec | 15 +++++++++++++++ t/data/SPECS/orphans-2/c-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/d-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/e-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/ee2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/f-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/ff2-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/g-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/gg-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/h-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/l-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/m-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/mm-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/n-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/nn-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/o-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/oo2-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/r-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-a-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-b-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-c-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-d-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-e-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-f-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-g-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-h-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-l-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-m-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-n-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-o-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-r-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-s-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/req-t-2.spec | 13 +++++++++++++ t/data/SPECS/orphans-2/s-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/t-2.spec | 14 ++++++++++++++ t/data/SPECS/orphans-2/tt2-2.spec | 14 ++++++++++++++ 37 files changed, 498 insertions(+) create mode 100644 t/data/SPECS/orphans-2/a-2.spec create mode 100644 t/data/SPECS/orphans-2/bb-2.spec create mode 100644 t/data/SPECS/orphans-2/c-2.spec create mode 100644 t/data/SPECS/orphans-2/d-2.spec create mode 100644 t/data/SPECS/orphans-2/e-2.spec create mode 100644 t/data/SPECS/orphans-2/ee2.spec create mode 100644 t/data/SPECS/orphans-2/f-2.spec create mode 100644 t/data/SPECS/orphans-2/ff2-2.spec create mode 100644 t/data/SPECS/orphans-2/g-2.spec create mode 100644 t/data/SPECS/orphans-2/gg-2.spec create mode 100644 t/data/SPECS/orphans-2/h-2.spec create mode 100644 t/data/SPECS/orphans-2/l-2.spec create mode 100644 t/data/SPECS/orphans-2/m-2.spec create mode 100644 t/data/SPECS/orphans-2/mm-2.spec create mode 100644 t/data/SPECS/orphans-2/n-2.spec create mode 100644 t/data/SPECS/orphans-2/nn-2.spec create mode 100644 t/data/SPECS/orphans-2/o-2.spec create mode 100644 t/data/SPECS/orphans-2/oo2-2.spec create mode 100644 t/data/SPECS/orphans-2/r-2.spec create mode 100644 t/data/SPECS/orphans-2/req-a-2.spec create mode 100644 t/data/SPECS/orphans-2/req-b-2.spec create mode 100644 t/data/SPECS/orphans-2/req-c-2.spec create mode 100644 t/data/SPECS/orphans-2/req-d-2.spec create mode 100644 t/data/SPECS/orphans-2/req-e-2.spec create mode 100644 t/data/SPECS/orphans-2/req-f-2.spec create mode 100644 t/data/SPECS/orphans-2/req-g-2.spec create mode 100644 t/data/SPECS/orphans-2/req-h-2.spec create mode 100644 t/data/SPECS/orphans-2/req-l-2.spec create mode 100644 t/data/SPECS/orphans-2/req-m-2.spec create mode 100644 t/data/SPECS/orphans-2/req-n-2.spec create mode 100644 t/data/SPECS/orphans-2/req-o-2.spec create mode 100644 t/data/SPECS/orphans-2/req-r-2.spec create mode 100644 t/data/SPECS/orphans-2/req-s-2.spec create mode 100644 t/data/SPECS/orphans-2/req-t-2.spec create mode 100644 t/data/SPECS/orphans-2/s-2.spec create mode 100644 t/data/SPECS/orphans-2/t-2.spec create mode 100644 t/data/SPECS/orphans-2/tt2-2.spec (limited to 't/data/SPECS/orphans-2') diff --git a/t/data/SPECS/orphans-2/a-2.spec b/t/data/SPECS/orphans-2/a-2.spec new file mode 100644 index 00000000..0cd2afc8 --- /dev/null +++ b/t/data/SPECS/orphans-2/a-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: a +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/bb-2.spec b/t/data/SPECS/orphans-2/bb-2.spec new file mode 100644 index 00000000..0a57c173 --- /dev/null +++ b/t/data/SPECS/orphans-2/bb-2.spec @@ -0,0 +1,15 @@ +Summary: x +Name: bb +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Obsoletes: b < 2 +Provides: b = 2 +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/c-2.spec b/t/data/SPECS/orphans-2/c-2.spec new file mode 100644 index 00000000..55d29981 --- /dev/null +++ b/t/data/SPECS/orphans-2/c-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: c +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: cc +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/d-2.spec b/t/data/SPECS/orphans-2/d-2.spec new file mode 100644 index 00000000..85bfbf5e --- /dev/null +++ b/t/data/SPECS/orphans-2/d-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: d +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/e-2.spec b/t/data/SPECS/orphans-2/e-2.spec new file mode 100644 index 00000000..538aa45c --- /dev/null +++ b/t/data/SPECS/orphans-2/e-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: e +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: ee2 +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/ee2.spec b/t/data/SPECS/orphans-2/ee2.spec new file mode 100644 index 00000000..00a4cbf5 --- /dev/null +++ b/t/data/SPECS/orphans-2/ee2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: ee2 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/f-2.spec b/t/data/SPECS/orphans-2/f-2.spec new file mode 100644 index 00000000..01fccf8c --- /dev/null +++ b/t/data/SPECS/orphans-2/f-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: f +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: ff2 +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/ff2-2.spec b/t/data/SPECS/orphans-2/ff2-2.spec new file mode 100644 index 00000000..deb7e536 --- /dev/null +++ b/t/data/SPECS/orphans-2/ff2-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: ff2 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Conflicts: ff1 < 2 +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/g-2.spec b/t/data/SPECS/orphans-2/g-2.spec new file mode 100644 index 00000000..d08c3677 --- /dev/null +++ b/t/data/SPECS/orphans-2/g-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: g +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: gg = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/gg-2.spec b/t/data/SPECS/orphans-2/gg-2.spec new file mode 100644 index 00000000..ccc6d4e7 --- /dev/null +++ b/t/data/SPECS/orphans-2/gg-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: gg +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/h-2.spec b/t/data/SPECS/orphans-2/h-2.spec new file mode 100644 index 00000000..2bbcc00d --- /dev/null +++ b/t/data/SPECS/orphans-2/h-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: h +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/l-2.spec b/t/data/SPECS/orphans-2/l-2.spec new file mode 100644 index 00000000..f1a456f1 --- /dev/null +++ b/t/data/SPECS/orphans-2/l-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: l +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: ll +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/m-2.spec b/t/data/SPECS/orphans-2/m-2.spec new file mode 100644 index 00000000..b3d7c233 --- /dev/null +++ b/t/data/SPECS/orphans-2/m-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: m +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: mm = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/mm-2.spec b/t/data/SPECS/orphans-2/mm-2.spec new file mode 100644 index 00000000..78c8e3ee --- /dev/null +++ b/t/data/SPECS/orphans-2/mm-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: mm +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: m +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/n-2.spec b/t/data/SPECS/orphans-2/n-2.spec new file mode 100644 index 00000000..438e8a2e --- /dev/null +++ b/t/data/SPECS/orphans-2/n-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: n +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: nn = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/nn-2.spec b/t/data/SPECS/orphans-2/nn-2.spec new file mode 100644 index 00000000..193e2903 --- /dev/null +++ b/t/data/SPECS/orphans-2/nn-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: nn +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: n = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/o-2.spec b/t/data/SPECS/orphans-2/o-2.spec new file mode 100644 index 00000000..0451c55c --- /dev/null +++ b/t/data/SPECS/orphans-2/o-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: o +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: oo%version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/oo2-2.spec b/t/data/SPECS/orphans-2/oo2-2.spec new file mode 100644 index 00000000..4a8568ed --- /dev/null +++ b/t/data/SPECS/orphans-2/oo2-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: oo2 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: o = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/r-2.spec b/t/data/SPECS/orphans-2/r-2.spec new file mode 100644 index 00000000..ef6c3a75 --- /dev/null +++ b/t/data/SPECS/orphans-2/r-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: r +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-a-2.spec b/t/data/SPECS/orphans-2/req-a-2.spec new file mode 100644 index 00000000..d463a2ad --- /dev/null +++ b/t/data/SPECS/orphans-2/req-a-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-a +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-b-2.spec b/t/data/SPECS/orphans-2/req-b-2.spec new file mode 100644 index 00000000..7d7ca3a7 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-b-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-b +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-c-2.spec b/t/data/SPECS/orphans-2/req-c-2.spec new file mode 100644 index 00000000..205f2eb6 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-c-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-c +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-d-2.spec b/t/data/SPECS/orphans-2/req-d-2.spec new file mode 100644 index 00000000..d2ef1ddb --- /dev/null +++ b/t/data/SPECS/orphans-2/req-d-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-d +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-e-2.spec b/t/data/SPECS/orphans-2/req-e-2.spec new file mode 100644 index 00000000..9053971c --- /dev/null +++ b/t/data/SPECS/orphans-2/req-e-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-e +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-f-2.spec b/t/data/SPECS/orphans-2/req-f-2.spec new file mode 100644 index 00000000..4ced265b --- /dev/null +++ b/t/data/SPECS/orphans-2/req-f-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-f +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-g-2.spec b/t/data/SPECS/orphans-2/req-g-2.spec new file mode 100644 index 00000000..9794dd1c --- /dev/null +++ b/t/data/SPECS/orphans-2/req-g-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-g +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-h-2.spec b/t/data/SPECS/orphans-2/req-h-2.spec new file mode 100644 index 00000000..145a7310 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-h-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-h +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-l-2.spec b/t/data/SPECS/orphans-2/req-l-2.spec new file mode 100644 index 00000000..8422178c --- /dev/null +++ b/t/data/SPECS/orphans-2/req-l-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-l +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-m-2.spec b/t/data/SPECS/orphans-2/req-m-2.spec new file mode 100644 index 00000000..21767f34 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-m-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-m +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-n-2.spec b/t/data/SPECS/orphans-2/req-n-2.spec new file mode 100644 index 00000000..abc0b8d0 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-n-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-n +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-o-2.spec b/t/data/SPECS/orphans-2/req-o-2.spec new file mode 100644 index 00000000..f7d463fb --- /dev/null +++ b/t/data/SPECS/orphans-2/req-o-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-o +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-r-2.spec b/t/data/SPECS/orphans-2/req-r-2.spec new file mode 100644 index 00000000..a3c52f82 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-r-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-r +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-s-2.spec b/t/data/SPECS/orphans-2/req-s-2.spec new file mode 100644 index 00000000..38164a06 --- /dev/null +++ b/t/data/SPECS/orphans-2/req-s-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-s +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/req-t-2.spec b/t/data/SPECS/orphans-2/req-t-2.spec new file mode 100644 index 00000000..f008de2a --- /dev/null +++ b/t/data/SPECS/orphans-2/req-t-2.spec @@ -0,0 +1,13 @@ +Summary: x +Name: req-t +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/s-2.spec b/t/data/SPECS/orphans-2/s-2.spec new file mode 100644 index 00000000..5b4775e1 --- /dev/null +++ b/t/data/SPECS/orphans-2/s-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: s +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: ss +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/t-2.spec b/t/data/SPECS/orphans-2/t-2.spec new file mode 100644 index 00000000..8d5801ae --- /dev/null +++ b/t/data/SPECS/orphans-2/t-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: t +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: tt >= %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/orphans-2/tt2-2.spec b/t/data/SPECS/orphans-2/tt2-2.spec new file mode 100644 index 00000000..30937923 --- /dev/null +++ b/t/data/SPECS/orphans-2/tt2-2.spec @@ -0,0 +1,14 @@ +Summary: x +Name: tt2 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Provides: tt = %version +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files -- cgit v1.2.1