Accepting request 155854 from GNOME:Factory

- Update to version 1.1:
  + Many mime-type changes
  + Specification changes:
    - Fix mimetype names used as examples.
    - Document that the first extension is the main one.
    - Fix missing plural.
  + Honor NOCONFIGURE=1.
  + Allow builders to not run make check by default.
  + Fix build for platforms with executable extensions.
  + Disable checks when cross compiling.
  + Use non-installed update-mime-database in install-data-hook.
  + Use native update-mime-database for install when cross
    compiling.
  + Add a local-test target to print mime in.
- Pass --disable-default-make-check to configure: we prefer to
  execute make check in the separate %check section.
- Add a %check section and execute make check (forwarded request 155668 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/155854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-mime-info?expand=0&rev=38
This commit is contained in:
Stephan Kulow 2013-02-20 08:36:29 +00:00 committed by Git OBS Bridge
commit d0f47c3289
4 changed files with 31 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2e830e5aae213dd906e64495e9618cc4ef40d7b249e0971a190b04d5802ae8f
size 496700

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:184d094b157a9ec2607ad26a1a1837e6e07f3fcbeb38d8b6d412906156f9e06c
size 506660

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sun Feb 17 17:13:58 UTC 2013 - dimstar@opensuse.org
- Update to version 1.1:
+ Many mime-type changes
+ Specification changes:
- Fix mimetype names used as examples.
- Document that the first extension is the main one.
- Fix missing plural.
+ Honor NOCONFIGURE=1.
+ Allow builders to not run make check by default.
+ Fix build for platforms with executable extensions.
+ Disable checks when cross compiling.
+ Use non-installed update-mime-database in install-data-hook.
+ Use native update-mime-database for install when cross
compiling.
+ Add a local-test target to print mime in.
- Pass --disable-default-make-check to configure: we prefer to
execute make check in the separate %check section.
- Add a %check section and execute make check
-------------------------------------------------------------------
Sat Jul 21 17:45:55 UTC 2012 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package shared-mime-info
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: shared-mime-info
Version: 1.0
Version: 1.1
Release: 0
Url: http://freedesktop.org/wiki/Software/shared-mime-info
Summary: Shared MIME Database
@ -61,7 +61,8 @@ This package contains:
translation-update-upstream
%build
%configure
%configure \
--disable-default-make-check
make
%install
@ -71,6 +72,9 @@ install %{S:1} $RPM_BUILD_ROOT%{_bindir}/
# Install rpm macros
install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT