Accepting request 548510 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/548510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eog?expand=0&rev=130
This commit is contained in:
Dominique Leuenberger 2017-12-06 07:50:18 +00:00 committed by Git OBS Bridge
commit 98200d1989
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Nov 10 16:37:03 UTC 2017 - zaitor@opensuse.org
- Drop update-desktop-files BuildRequires and no longer pass
suse_update_desktop_file macro, not needed anymore.
- Drop eog2 Provides and Obsoletes, no current openSUSE release
have ever had eog2.
- Modernize spec, use autosetup and make_build macros.
-------------------------------------------------------------------
Thu Nov 9 07:23:58 UTC 2017 - fezhang@suse.com

View File

@ -27,7 +27,6 @@ Source: http://download.gnome.org/sources/eog/3.26/%{name}-%{version}.ta
BuildRequires: fdupes
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(exempi-2.0) >= 1.99.5
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
@ -41,8 +40,6 @@ BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 0.7.4
BuildRequires: pkgconfig(librsvg-2.0) >= 2.36.2
BuildRequires: pkgconfig(shared-mime-info)
Recommends: %{name}-lang
Provides: eog2 = %{version}
Obsoletes: eog2 < %{version}
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
@ -67,18 +64,17 @@ eog plugins.
%lang_package
%prep
%setup -q
%autosetup
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
%configure
make %{?_smp_mflags}
%make_build
%install
%make_install
%suse_update_desktop_file %{name}
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}