From e12dc84cf7b733bc20d7229c9ebcd0b54cf21411 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 15 Dec 2012 08:00:21 -0800 Subject: [PATCH] split locale --- packaging/libgpg-error.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/libgpg-error.spec b/packaging/libgpg-error.spec index 173c597..cbe83d5 100644 --- a/packaging/libgpg-error.spec +++ b/packaging/libgpg-error.spec @@ -6,10 +6,9 @@ Summary: Library That Defines Common Error Values for All GnuPG Component Url: http://www.gnupg.org/ Group: Development/Libraries/C and C++ Source: %{name}-%{version}.tar.bz2 -Source2: baselibs.conf +Source1: baselibs.conf BuildRequires: gettext-tools BuildRequires: libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a library that defines common error values for all GnuPG @@ -36,8 +35,6 @@ make %{?_smp_mflags} %install %make_install -# Drop the lisp stuff, it depends on ASDF and CFFI -# which needs to be packaged first rm -r %{buildroot}%{_datadir}/common-lisp %find_lang %{name} @@ -45,13 +42,16 @@ rm -r %{buildroot}%{_datadir}/common-lisp %postun -p /sbin/ldconfig -%files -f %{name}.lang +%lang_package + + +%files %defattr(-,root,root) +%license COPYING.LIB COPYING %{_libdir}/libgpg-error*.so.* %files devel %defattr(-,root,root) -%doc README NEWS ChangeLog COPYING.LIB COPYING AUTHORS ABOUT-NLS %{_datadir}/aclocal/gpg-error.m4 %{_includedir}/* %{_bindir}/* -- 2.7.4