autospec/patches/autospec-1.2.2-localedir.patch
2011-04-26 21:39:44 +02:00

12 lines
539 B
Diff

--- /usr/share/autospec/plugins/pck-update.orig 2008-10-02 10:20:52.000000000 +0200
+++ /usr/share/autospec/plugins/pck-update 2008-09-26 18:19:05.000000000 +0200
@@ -368,7 +368,7 @@
notify.note " * "$"running test"" $arg (%find_lang)..."
# FIXME : the test should perhaps be improved...
- grep -q "^[ ]*[^# ]*/locale/" $specfile || continue
+ grep -q "^[ ]*[^# ]*/share/locale/" $specfile || continue
notify.error $"\
"$"localization files must be packaged via \`%find_lang'""${NORM}