diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-05-29 07:30:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-05-29 07:30:32 +0000 |
commit | ce597d6a01fda649be99c7fae25a0604bdefa23c (patch) | |
tree | b65380f6ae301ab9660d3d4728c48fec4eaef7be /t/data | |
parent | ef337715b4b8124322d5bb458dc9686da7d8fb8b (diff) | |
download | urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.gz urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.bz2 urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.xz urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.zip |
re-sync after the big svn loss
Diffstat (limited to 't/data')
23 files changed, 379 insertions, 0 deletions
diff --git a/t/data/SPECS/arch_to_noarch_1.spec b/t/data/SPECS/arch_to_noarch_1.spec new file mode 100644 index 00000000..05cff446 --- /dev/null +++ b/t/data/SPECS/arch_to_noarch_1.spec @@ -0,0 +1,28 @@ +Summary: arch_to_noarch +Name: arch_to_noarch +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/lib/test-%{name} +cp /sbin/ldconfig $RPM_BUILD_ROOT/usr/lib/test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +this pkg own a binary file + +%files +%defattr(-,root,root) +%config(noreplace) /usr/lib/test-%{name} + diff --git a/t/data/SPECS/arch_to_noarch_2.spec b/t/data/SPECS/arch_to_noarch_2.spec new file mode 100644 index 00000000..7be6925b --- /dev/null +++ b/t/data/SPECS/arch_to_noarch_2.spec @@ -0,0 +1,28 @@ +Summary: arch_to_noarch +Name: arch_to_noarch +Version: 2 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/lib/test-%{name} +cp /sbin/ldconfig $RPM_BUILD_ROOT/usr/lib/test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +this pkg still owns a binary file + +%files +%defattr(-,root,root) +%config(noreplace) /usr/lib/test-%{name} + diff --git a/t/data/SPECS/arch_to_noarch_3.spec b/t/data/SPECS/arch_to_noarch_3.spec new file mode 100644 index 00000000..be9cdb4d --- /dev/null +++ b/t/data/SPECS/arch_to_noarch_3.spec @@ -0,0 +1,29 @@ +Summary: arch_to_noarch +Name: arch_to_noarch +Version: 3 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} +BuildArch: noarch + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/lib/test-%{name} +echo foo > $RPM_BUILD_ROOT/usr/lib/test-%{name}/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +this pkg is now a noarch + +%files +%defattr(-,root,root) +%config(noreplace) /usr/lib/test-%{name} + diff --git a/t/data/SPECS/arch_to_noarch_4.spec b/t/data/SPECS/arch_to_noarch_4.spec new file mode 100644 index 00000000..7eb32705 --- /dev/null +++ b/t/data/SPECS/arch_to_noarch_4.spec @@ -0,0 +1,28 @@ +Summary: arch_to_noarch +Name: arch_to_noarch +Version: 4 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/lib/test-%{name} +cp /sbin/ldconfig $RPM_BUILD_ROOT/usr/lib/test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +this pkg is now a binary again + +%files +%defattr(-,root,root) +%config(noreplace) /usr/lib/test-%{name} + diff --git a/t/data/SPECS/priority-upgrade-1/a-strict_1.spec b/t/data/SPECS/priority-upgrade-1/a-strict_1.spec new file mode 100644 index 00000000..7c81849d --- /dev/null +++ b/t/data/SPECS/priority-upgrade-1/a-strict_1.spec @@ -0,0 +1,14 @@ +Summary: a-strict +Name: a-strict +Version: 1 +Release: 1 +License: x +Group: x +Url: x +Requires: b +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-1/a_1.spec b/t/data/SPECS/priority-upgrade-1/a_1.spec new file mode 100644 index 00000000..8a997f9e --- /dev/null +++ b/t/data/SPECS/priority-upgrade-1/a_1.spec @@ -0,0 +1,14 @@ +Summary: a +Name: a +Version: 1 +Release: 1 +License: x +Group: x +Url: x +Requires: b +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-1/b_1.spec b/t/data/SPECS/priority-upgrade-1/b_1.spec new file mode 100644 index 00000000..fa346315 --- /dev/null +++ b/t/data/SPECS/priority-upgrade-1/b_1.spec @@ -0,0 +1,13 @@ +Summary: b +Name: b +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-2/a-strict_2.spec b/t/data/SPECS/priority-upgrade-2/a-strict_2.spec new file mode 100644 index 00000000..0a44113d --- /dev/null +++ b/t/data/SPECS/priority-upgrade-2/a-strict_2.spec @@ -0,0 +1,14 @@ +Summary: a-strict +Name: a-strict +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: b >= 2 +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-2/a_2.spec b/t/data/SPECS/priority-upgrade-2/a_2.spec new file mode 100644 index 00000000..5048eed1 --- /dev/null +++ b/t/data/SPECS/priority-upgrade-2/a_2.spec @@ -0,0 +1,14 @@ +Summary: a +Name: a +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: b +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-2/b_2.spec b/t/data/SPECS/priority-upgrade-2/b_2.spec new file mode 100644 index 00000000..929014ad --- /dev/null +++ b/t/data/SPECS/priority-upgrade-2/b_2.spec @@ -0,0 +1,14 @@ +Summary: b +Name: b +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Requires: bb +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-2/bb1_2.spec b/t/data/SPECS/priority-upgrade-2/bb1_2.spec new file mode 100644 index 00000000..2b10a21a --- /dev/null +++ b/t/data/SPECS/priority-upgrade-2/bb1_2.spec @@ -0,0 +1,14 @@ +Summary: bb1 +Name: bb1 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Provides: bb +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/priority-upgrade-2/bb2_2.spec b/t/data/SPECS/priority-upgrade-2/bb2_2.spec new file mode 100644 index 00000000..1732f9cd --- /dev/null +++ b/t/data/SPECS/priority-upgrade-2/bb2_2.spec @@ -0,0 +1,14 @@ +Summary: bb2 +Name: bb2 +Version: 2 +Release: 1 +License: x +Group: x +Url: x +Provides: bb +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/srpm-bootstrapping.spec b/t/data/SPECS/srpm-bootstrapping.spec new file mode 100644 index 00000000..771b6226 --- /dev/null +++ b/t/data/SPECS/srpm-bootstrapping.spec @@ -0,0 +1,14 @@ +Summary: x +Name: srpm-bootstrapping +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRequires: %{name} +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%files diff --git a/t/data/SPECS/various.spec b/t/data/SPECS/various.spec new file mode 100644 index 00000000..b7d62e8f --- /dev/null +++ b/t/data/SPECS/various.spec @@ -0,0 +1,38 @@ +Summary: various +Name: various +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep +echo foo > foo + +%build + +%install +rm -rf $RPM_BUILD_ROOT +for i in /etc/test-%{name} \ + /var/lib/test-%{name}/foo1 /var/lib/test-%{name}/foo2 /var/lib/test-%{name}/foo3 \ + /usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \ + /usr/test-%{name}/foo; do + install -d `dirname $RPM_BUILD_ROOT$i` + echo foo > $RPM_BUILD_ROOT$i +done + +%find_lang test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +x + +%files -f test-%{name}.lang +%defattr(-,root,root) +%doc foo +%config(noreplace) /etc/* +/var/lib/* +/usr/test-%{name} diff --git a/t/data/SPECS/various2.spec b/t/data/SPECS/various2.spec new file mode 100644 index 00000000..bcc16c5b --- /dev/null +++ b/t/data/SPECS/various2.spec @@ -0,0 +1,38 @@ +Summary: various2 +Name: various2 +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep +echo foo > foo + +%build + +%install +rm -rf $RPM_BUILD_ROOT +for i in /etc/test-%{name} \ + /var/lib/test-%{name}/foo1 /var/lib/test-%{name}/foo2 /var/lib/test-%{name}/foo3 \ + /usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \ + /usr/test-%{name}/foo; do + install -d `dirname $RPM_BUILD_ROOT$i` + echo foo > $RPM_BUILD_ROOT$i +done + +%find_lang test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +x + +%files -f test-%{name}.lang +%defattr(-,root,root) +%doc foo +%config(noreplace) /etc/* +/var/lib/* +/usr/test-%{name} diff --git a/t/data/SPECS/various3.spec b/t/data/SPECS/various3.spec new file mode 100644 index 00000000..5d147f75 --- /dev/null +++ b/t/data/SPECS/various3.spec @@ -0,0 +1,38 @@ +Summary: various3 +Name: various3 +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep +echo foo > foo + +%build + +%install +rm -rf $RPM_BUILD_ROOT +for i in /etc/test-%{name} \ + /var/lib/test-%{name}/foo1 /var/lib/test-%{name}/foo2 /var/lib/test-%{name}/foo3 \ + /usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \ + /usr/test-%{name}/foo; do + install -d `dirname $RPM_BUILD_ROOT$i` + echo foo > $RPM_BUILD_ROOT$i +done + +%find_lang test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +x + +%files -f test-%{name}.lang +%defattr(-,root,root) +%doc foo +%config(noreplace) /etc/* +/var/lib/* +/usr/test-%{name} diff --git a/t/data/media.cfg b/t/data/media.cfg new file mode 100644 index 00000000..49a0a1d7 --- /dev/null +++ b/t/data/media.cfg @@ -0,0 +1,26 @@ +[media_info] +version=2007.0 +mediacfg_version=2 + +[various] +hdlist=hdlist_various.cz +name=Various +size=1m + +[various2] +hdlist=hdlist_various2.cz +name=Various II +size=1m + +[various3] +hdlist=hdlist_various3.cz +name=Various III +size=1m +noauto=1 + +[various_bis] +hdlist=hdlist_bis.cz +name=Various Bis +size=1m +debug_for=various +noauto=1 diff --git a/t/data/rpm-buggy/invalid-signature.rpm b/t/data/rpm-buggy/invalid-signature.rpm Binary files differnew file mode 100644 index 00000000..20944405 --- /dev/null +++ b/t/data/rpm-buggy/invalid-signature.rpm diff --git a/t/data/rpm-buggy/not-a-rpm.rpm b/t/data/rpm-buggy/not-a-rpm.rpm new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/t/data/rpm-buggy/not-a-rpm.rpm @@ -0,0 +1 @@ +1 diff --git a/t/data/rpm-buggy/weird-header.rpm b/t/data/rpm-buggy/weird-header.rpm Binary files differnew file mode 100644 index 00000000..51561037 --- /dev/null +++ b/t/data/rpm-buggy/weird-header.rpm diff --git a/t/data/rpm-v3/libtermcap-2.0.8-2.i386.rpm b/t/data/rpm-v3/libtermcap-2.0.8-2.i386.rpm Binary files differnew file mode 100644 index 00000000..390524dc --- /dev/null +++ b/t/data/rpm-v3/libtermcap-2.0.8-2.i386.rpm diff --git a/t/data/rpm-v3/nls-1.0-2.i386.rpm b/t/data/rpm-v3/nls-1.0-2.i386.rpm Binary files differnew file mode 100644 index 00000000..c05d7f85 --- /dev/null +++ b/t/data/rpm-v3/nls-1.0-2.i386.rpm diff --git a/t/data/rpm-v3/p2c-1.20-7.i386.rpm b/t/data/rpm-v3/p2c-1.20-7.i386.rpm Binary files differnew file mode 100644 index 00000000..a0fd4e41 --- /dev/null +++ b/t/data/rpm-v3/p2c-1.20-7.i386.rpm |