From b58c2ed6b41d1283975931c634b7b7ef56984ade Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 7 Mar 2018 12:40:48 -0600 Subject: [PATCH] BR: gcc, .spec cosmetics/cleanup --- shared-mime-info.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 8e4bc26..c2d9ad9 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,7 +1,7 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 1.9 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info @@ -20,15 +20,13 @@ Source4: eog-defaults.list # Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354 Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch +BuildRequires: gcc BuildRequires: libxml2-devel BuildRequires: glib2-devel BuildRequires: gettext # For intltool: BuildRequires: perl(XML::Parser) intltool -Requires(post): glib2 -Requires(post): coreutils - # Disable pkgconfig autodep %global __requires_exclude ^/usr/bin/pkg-config$ @@ -44,14 +42,17 @@ and looking up the correct MIME type in a database. %autosetup %build -%configure --disable-silent-rules --disable-update-mimedb +%configure \ + --disable-silent-rules\ + --disable-update-mimedb + # not smp safe, pretty small package anyway make %install # speed build a bit PKGSYSTEM_ENABLE_FSYNC=0 \ -make install DESTDIR=$RPM_BUILD_ROOT +%make_install find $RPM_BUILD_ROOT%{_datadir}/mime -type d \ | sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files @@ -85,7 +86,6 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||: update-mime-database -n %{_datadir}/mime &> /dev/null ||: %files -f %{name}.files -%{!?_licensedir:%global license %%doc} %license COPYING %doc README NEWS HACKING shared-mime-info-spec.xml %{_bindir}/* @@ -98,6 +98,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||: %{_mandir}/man*/* %changelog +* Wed Mar 07 2018 Rex Dieter - 1.9-4 +- BR: gcc, .spec cosmetics/cleanup + * Fri Feb 09 2018 Fedora Release Engineering - 1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild