summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/data/SPECS/various.spec6
-rw-r--r--t/data/SPECS/various2.spec6
-rw-r--r--t/data/SPECS/various3.spec6
3 files changed, 18 insertions, 0 deletions
diff --git a/t/data/SPECS/various.spec b/t/data/SPECS/various.spec
index 4429fada..250f737c 100644
--- a/t/data/SPECS/various.spec
+++ b/t/data/SPECS/various.spec
@@ -13,13 +13,19 @@ echo foo > foo
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 \
+%ifos linux
/usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \
+%endif
/usr/test-%{name}/foo; do
mkdir -p `dirname $RPM_BUILD_ROOT$i`
echo foo > $RPM_BUILD_ROOT$i
done
+%ifos linux
%find_lang test-%{name}
+%else
+echo > test-%{name}.lang
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/t/data/SPECS/various2.spec b/t/data/SPECS/various2.spec
index d7c55421..6a10084c 100644
--- a/t/data/SPECS/various2.spec
+++ b/t/data/SPECS/various2.spec
@@ -13,13 +13,19 @@ echo foo > foo
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 \
+%ifos linux
/usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \
+%endif
/usr/test-%{name}/foo; do
mkdir -p `dirname $RPM_BUILD_ROOT$i`
echo foo > $RPM_BUILD_ROOT$i
done
+%ifos linux
%find_lang test-%{name}
+%else
+echo > test-%{name}.lang
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/t/data/SPECS/various3.spec b/t/data/SPECS/various3.spec
index f018ab25..74e08459 100644
--- a/t/data/SPECS/various3.spec
+++ b/t/data/SPECS/various3.spec
@@ -13,13 +13,19 @@ echo foo > foo
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 \
+%ifos linux
/usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \
+%endif
/usr/test-%{name}/foo; do
mkdir -p `dirname $RPM_BUILD_ROOT$i`
echo foo > $RPM_BUILD_ROOT$i
done
+%ifos linux
%find_lang test-%{name}
+%else
+echo > test-%{name}.lang
+%endif
%clean
rm -rf $RPM_BUILD_ROOT