Mailinglist Archive: opensuse-bugs (5398 mails)
| < Previous | Next > |
[Bug 279869] Extending yast2-devtools - create-spec
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 1 Jun 2007 07:16:08 -0600 (MDT)
- Message-id: <20070601131608.852081093@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=279869
ke@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |mvidner@xxxxxxxxxx
------- Comment #2 from ke@xxxxxxxxxx 2007-06-01 07:16 MST -------
Thanks for checking and advise. I'd like to avoid hardcoding the language info
in *.spec.in. I think we better add it to the y2autoconf layer and I will
change existing *spec.in accordingly (not sure, whether I got it right):
Index: skeletons/trans/yast2-trans-XXpkgXX.spec.in
===================================================================
--- skeletons/trans/yast2-trans-XXpkgXX.spec.in (revision 38224)
+++ skeletons/trans/yast2-trans-XXpkgXX.spec.in (working copy)
@@ -22,4 +22,5 @@
%files
%defattr(-,root,root)
%doc @docdir@
-@localedir@
+%dir @localedir@
+%lang(@ISO639@) @localedir@/@ISO639@
Index: bin/y2autoconf
===================================================================
--- bin/y2autoconf (revision 38224)
+++ bin/y2autoconf (working copy)
@@ -185,6 +185,8 @@
'@YAST2-INIT-PO@' =>
'LL=${RPMNAME##*-}
AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
AC_ARG_WITH(own_compendium,
AS_HELP_STRING([--with-own_compendium=FILE],
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
ke@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |mvidner@xxxxxxxxxx
------- Comment #2 from ke@xxxxxxxxxx 2007-06-01 07:16 MST -------
Thanks for checking and advise. I'd like to avoid hardcoding the language info
in *.spec.in. I think we better add it to the y2autoconf layer and I will
change existing *spec.in accordingly (not sure, whether I got it right):
Index: skeletons/trans/yast2-trans-XXpkgXX.spec.in
===================================================================
--- skeletons/trans/yast2-trans-XXpkgXX.spec.in (revision 38224)
+++ skeletons/trans/yast2-trans-XXpkgXX.spec.in (working copy)
@@ -22,4 +22,5 @@
%files
%defattr(-,root,root)
%doc @docdir@
-@localedir@
+%dir @localedir@
+%lang(@ISO639@) @localedir@/@ISO639@
Index: bin/y2autoconf
===================================================================
--- bin/y2autoconf (revision 38224)
+++ bin/y2autoconf (working copy)
@@ -185,6 +185,8 @@
'@YAST2-INIT-PO@' =>
'LL=${RPMNAME##*-}
AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
AC_ARG_WITH(own_compendium,
AS_HELP_STRING([--with-own_compendium=FILE],
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |