From 89ae0bb04e445771209559fd02bb2b9c95f3fb27e883767997aad205cdd2aad1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 23 Jul 2012 20:46:25 +0000 Subject: [PATCH] Accepting request 128591 from GNOME:Next Split out lang package.. no importance.. just cleaning up old bugs OBS-URL: https://build.opensuse.org/request/show/128591 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=35 --- shared-mime-info.changes | 5 +++++ shared-mime-info.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/shared-mime-info.changes b/shared-mime-info.changes index c2e926c..0d664d4 100644 --- a/shared-mime-info.changes +++ b/shared-mime-info.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 21 17:45:55 UTC 2012 - dimstar@opensuse.org + +- Split out -lang package (bnc#645077). + ------------------------------------------------------------------- Mon Feb 27 07:52:10 UTC 2012 - vuntz@opensuse.org diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 0eef613..d1a1260 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -44,6 +44,7 @@ Requires: /usr/bin/fgrep PreReq: libxml2-2 libglib-2_0-0 Provides: %{name}-devel = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %{name}-lang %description This package contains: @@ -54,6 +55,7 @@ This package contains: - The update-mime-database command, used to install new MIME data. +%lang_package %prep %setup -q translation-update-upstream @@ -65,7 +67,7 @@ make %install %makeinstall install %{S:1} $RPM_BUILD_ROOT%{_bindir}/ -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} # Install rpm macros install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info @@ -75,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT %post %{_bindir}/update-mime-database %{_datadir}/mime || true -%files -f %{name}.lang +%files %defattr (-, root, root) %doc COPYING ChangeLog NEWS README %{_bindir}/* @@ -85,4 +87,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man?/*.* %{_sysconfdir}/rpm/macros.shared-mime-info +%files lang -f %{name}.lang + %changelog