[compiz/f16] start using git snapshots as the releases suck

leigh123linux leigh123linux at fedoraproject.org
Mon Oct 17 20:16:56 UTC 2011


commit d5253eb18278e4458ef72da0154f3a28e0dba386
Author: Leigh Scott <leigh123linux at googlemail.com>
Date:   Mon Oct 17 21:16:50 2011 +0100

    start using git snapshots as the releases suck

 compiz.spec |   21 +++++++++++++--------
 sources     |    2 +-
 2 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/compiz.spec b/compiz.spec
index 368f425..dfc13d8 100644
--- a/compiz.spec
+++ b/compiz.spec
@@ -12,15 +12,16 @@
 # in here, it will cause pain
 %global	default_plugins core composite opengl copytex compiztoolbox decor scale resize gnomecompat staticswitcher place move mousepoll vpswitch regex snap session wall workarounds ezoom
 
+%global git_snapshot e676f1b12eb8db3a76978eed5bfc7c2cf9a0b6ce
+
 Name:           compiz
 URL:            http://www.compiz.org
 License:        GPLv2+ and LGPLv2+ and MIT
 Group:          User Interface/Desktops
-Version:        0.9.5.0
-Release:        4%{?dist}
+Version:        0.9.5.92.1
+Release:        0.1.git%{git_snapshot}%{?dist}
 
 Summary:        OpenGL window and compositing manager
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # libdrm is not available on these arches
 ExcludeArch:   s390 s390x
@@ -51,7 +52,10 @@ BuildRequires:  libxslt-devel
 BuildRequires:  dbus-glib-devel
 BuildRequires:  boost-devel
 BuildRequires:  glibmm24-devel
-Source0:        http://releases.compiz.org/%{version}/compiz-%{version}.tar.bz2
+#Source0:        http://releases.compiz.org/%{version}/compiz-%{version}.tar.bz2
+# git snapshot
+# http://gitweb.compiz.org/?p=compiz/core;a=snapshot;h=%{git_snapshot};sf=tgz
+Source0:        core-%{git_snapshot}.tar.gz
 Source1:        compiz-gtk
 Source2:        compiz-gtk.desktop
 Source3:        compiz-gnome.desktop
@@ -167,7 +171,7 @@ and other kde integration related stuff.
 
 
 %prep
-%setup -q
+%setup -q -n core
 
 %if 0%{?fedora}
 %patch105 -p1 -b .fedora-logo
@@ -181,9 +185,7 @@ rm -rf $RPM_BUILD_ROOT
 mkdir build
 pushd build
 %cmake -DCOMPIZ_DEFAULT_PLUGINS="%{default_plugins}" -DCOMPIZ_PACKAGING_ENABLED=ON -DBUILD_GNOME_KEYBINDINGS=OFF -DCOMPIZ_BUILD_WITH_RPATH=OFF -DCOMPIZ_DISABLE_SCHEMAS_INSTALL=ON -DCOMPIZ_INSTALL_GCONF_SCHEMA_DIR=%{_sysconfdir}/gconf/schemas ..
-# Parallel build with -j16 on the cluster failed, though with -j4 on
-# dual-core, dual-thread it worked
-make VERBOSE=1 
+make VERBOSE=1 %{_smp_mflags}
 popd
 
 %install
@@ -339,6 +341,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Oct 17 2011 Leigh Scott <leigh123linux at googlemail.com> - 0.9.5.92.1-0.1.git%{git_snapshot}
+- start using git snapshots as the releases suck
+
 * Sat Sep 17 2011 Leigh Scott <leigh123linux at googlemail.com> - 0.9.5.0-4
 - more changes for emerald's retirement
 
diff --git a/sources b/sources
index 0b10eb5..8f0aabe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c9dcb1b0bc77951edf53e84aad41fd3  compiz-0.9.5.0.tar.bz2
+7d165d69fe47aee5919cff706e8ba135  core-e676f1b12eb8db3a76978eed5bfc7c2cf9a0b6ce.tar.gz


More information about the scm-commits mailing list