diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-03 14:14:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-03 14:14:28 +0000 |
commit | 49ae8a7ea7b7a258bf6a56377b50d49892b4377e (patch) | |
tree | 31ec618eab6d0d58ab995197986276a956d3dfd9 /t/data/SPECS | |
parent | def94be0af851c56224faa669131439fffe6fb7c (diff) | |
download | urpmi-49ae8a7ea7b7a258bf6a56377b50d49892b4377e.tar urpmi-49ae8a7ea7b7a258bf6a56377b50d49892b4377e.tar.gz urpmi-49ae8a7ea7b7a258bf6a56377b50d49892b4377e.tar.bz2 urpmi-49ae8a7ea7b7a258bf6a56377b50d49892b4377e.tar.xz urpmi-49ae8a7ea7b7a258bf6a56377b50d49892b4377e.zip |
- urpmi
o handle README.<version>.upgrade.urpmi and
README.<version>-<release>.upgrade.urpmi: the content is displayed
when upgrading from rpm older than <version> (#30187)
- fix build of some test rpms
Diffstat (limited to 't/data/SPECS')
-rw-r--r-- | t/data/SPECS/README-urpmi/a.spec | 4 | ||||
-rw-r--r-- | t/data/SPECS/README-urpmi/b.spec | 6 | ||||
-rw-r--r-- | t/data/SPECS/README-urpmi/b_2.spec | 3 | ||||
-rw-r--r-- | t/data/SPECS/README-urpmi/b_3.spec | 24 | ||||
-rw-r--r-- | t/data/SPECS/README-urpmi/c.spec | 4 | ||||
-rw-r--r-- | t/data/SPECS/README-urpmi/d.spec | 4 |
6 files changed, 35 insertions, 10 deletions
diff --git a/t/data/SPECS/README-urpmi/a.spec b/t/data/SPECS/README-urpmi/a.spec index d15019af..cd2edfc6 100644 --- a/t/data/SPECS/README-urpmi/a.spec +++ b/t/data/SPECS/README-urpmi/a.spec @@ -10,8 +10,8 @@ BuildRoot: %{_tmppath}/%{name} %description x -%build -rm -rf $RPM_BUILD_ROOT +%prep +rm -rf * echo "installing/upgrading %name" > README.urpmi %clean diff --git a/t/data/SPECS/README-urpmi/b.spec b/t/data/SPECS/README-urpmi/b.spec index 5c7cb4f4..0783995f 100644 --- a/t/data/SPECS/README-urpmi/b.spec +++ b/t/data/SPECS/README-urpmi/b.spec @@ -10,8 +10,8 @@ BuildRoot: %{_tmppath}/%{name} %description x -%build -rm -rf $RPM_BUILD_ROOT +%prep +rm -rf * echo "installing %name" > README.install.urpmi echo "upgrading %name" > README.upgrade.urpmi @@ -20,4 +20,4 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README.install.urpmi README.upgrade.urpmi +%doc README.* diff --git a/t/data/SPECS/README-urpmi/b_2.spec b/t/data/SPECS/README-urpmi/b_2.spec index 15a63678..0f8a0314 100644 --- a/t/data/SPECS/README-urpmi/b_2.spec +++ b/t/data/SPECS/README-urpmi/b_2.spec @@ -14,10 +14,11 @@ x rm -rf $RPM_BUILD_ROOT echo "installing %name" > README.install.urpmi echo "upgrading %name" > README.upgrade.urpmi +echo "upgrading %name 2" > README.2.upgrade.urpmi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README.install.urpmi README.upgrade.urpmi +%doc README.* diff --git a/t/data/SPECS/README-urpmi/b_3.spec b/t/data/SPECS/README-urpmi/b_3.spec new file mode 100644 index 00000000..bab276a0 --- /dev/null +++ b/t/data/SPECS/README-urpmi/b_3.spec @@ -0,0 +1,24 @@ +Summary: b +Name: b +Version: 3 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%build +rm -rf $RPM_BUILD_ROOT +echo "installing %name" > README.install.urpmi +echo "upgrading %name" > README.upgrade.urpmi +echo "upgrading %name 2" > README.2.upgrade.urpmi + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README.* diff --git a/t/data/SPECS/README-urpmi/c.spec b/t/data/SPECS/README-urpmi/c.spec index 25f4df37..3da1dcde 100644 --- a/t/data/SPECS/README-urpmi/c.spec +++ b/t/data/SPECS/README-urpmi/c.spec @@ -11,8 +11,8 @@ Conflicts: a %description x -%build -rm -rf $RPM_BUILD_ROOT +%prep +rm -rf * echo "installing %name" > README.install.urpmi echo "upgrading %name" > README.upgrade.urpmi diff --git a/t/data/SPECS/README-urpmi/d.spec b/t/data/SPECS/README-urpmi/d.spec index 2f7d40de..50bffd18 100644 --- a/t/data/SPECS/README-urpmi/d.spec +++ b/t/data/SPECS/README-urpmi/d.spec @@ -10,8 +10,8 @@ BuildRoot: %{_tmppath}/%{name} %description x -%build -rm -rf $RPM_BUILD_ROOT +%prep +rm -rf * echo "installing/upgrading %name" > README.urpmi %clean |