[gnome-weather] build: update upstream spec file



commit 5cc35458d049fa2a6410f9b70f28775ac2a4adfb
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed May 28 18:35:50 2014 +0200

    build: update upstream spec file
    
    Doesn't build on my Fedora 20 without copr because of the gtk+
    requirement, but might be useful in the future - until we have
    lovely upstream application bundles, that is. I'm looking forward
    to that.

 org.gnome.Weather.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Weather.spec b/org.gnome.Weather.spec
index 8546276..7651320 100644
--- a/org.gnome.Weather.spec
+++ b/org.gnome.Weather.spec
@@ -8,6 +8,9 @@ URL:            http://wiki.gnome.org/Apps/Weather
 Source0:        %{_distdir}-%{version}.tar.xz
 BuildArch:      x86_64 i686
 
+Provides:       org.gnome.Weather.Application = %{_version}
+Obsoletes:      org.gnome.Weather.Application < 1.13.1
+
 %description
 A small application that allows you to monitor the current weather
 conditions for your city, or anywhere in the world and to access
@@ -24,6 +27,7 @@ make %{?_smp_mflags}
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 rm -fR $RPM_BUILD_ROOT/%{_bindir}
+rm -fR $RPM_BUILD_ROOT/%{_datadir}/org.gnome.Weather/gir-1.0
 desktop-file-edit $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.Application.desktop \
     --set-key=X-AppInstall-Package --set-value=%{name}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]