[gpaste/f18] Update to 2.99.2

Mohamed ElMorabity melmorabity at fedoraproject.org
Tue Jan 29 21:52:15 UTC 2013


commit e19fe67609af66200d6a021993b84bcf02c2df38
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Tue Jan 29 22:50:54 2013 +0100

    Update to 2.99.2

 .gitignore                              |    1 +
 gpaste-2.99.1-fix_gpaste-settings.patch |   62 -------------------------------
 gpaste.spec                             |   20 +++++----
 sources                                 |    2 +-
 4 files changed, 13 insertions(+), 72 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ebccef0..85cbaa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /gpaste-2.9.tar.xz
 /gpaste-2.9.1.tar.xz
 /v2.99.1.tar.gz
+/gpaste-2.99.2.tar.xz
diff --git a/gpaste.spec b/gpaste.spec
index e35a7fe..1b10e10 100644
--- a/gpaste.spec
+++ b/gpaste.spec
@@ -1,22 +1,19 @@
 %global alt_name GPaste
 
 Name:           gpaste
-Version:        2.99.1
+Version:        2.99.2
 Release:        1%{?dist}
 Summary:        Clipboard management system
 
 Group:          User Interface/Desktops
 License:        GPLv3+
 URL:            https://github.com/Keruspe/GPaste
-Source0:        https://github.com/Keruspe/%{alt_name}/archive/v%{version}.tar.gz
-# Fix gpaste-settings (see
-# http://www.imagination-land.org/posts/2013-01-15-gpaste-2.99.1-released.html)
-Patch0:         %{name}-2.99.1-fix_gpaste-settings.patch
+Source0:        http://www.imagination-land.org/files/%{name}-%{version}.tar.xz
 
+BuildRequires:  chrpath
 BuildRequires:  desktop-file-utils
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
-BuildRequires:  libtool
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gdk-3.0)
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
@@ -76,12 +73,10 @@ Requires:       %{name} = %{version}-%{release}
 
 
 %prep
-%setup -q -n %{alt_name}-%{version}
-%patch0 -p1 -b .fix-gpaste-settings
+%setup -q
 
 
 %build
-[ -f autogen.sh ] && ./autogen.sh
 %configure \
   --disable-schemas-compile \
   --disable-silent-rules \
@@ -110,6 +105,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-applet.desktop $RPM_BUILD_ROO
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-applet.desktop || true
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
 
+# Remove rpath
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_libdir}/*.so.* $RPM_BUILD_ROOT%{_libexecdir}/%{name}/*
+
 %find_lang %{alt_name}
 
 
@@ -166,6 +164,10 @@ fi
 
 
 %changelog
+* Mon Jan 28 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.99.2-1
+- Update to 2.99.2
+- Drop patch gpaste-2.99.1-fix_gpaste-settings
+
 * Thu Jan 17 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.99.1-1
 - Update to 2.99.1
 
diff --git a/sources b/sources
index e43383a..57b57ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6e881cafc2098f1e03cfb0966b5a338f  v2.99.1.tar.gz
+cf739f3d2b44d20b8f55fa790752aa87  gpaste-2.99.2.tar.xz


More information about the scm-commits mailing list