[compizconfig-python/f15] update to git snapshot update spec file to meet current guidelines

leigh123linux leigh123linux at fedoraproject.org
Wed Nov 30 18:02:48 UTC 2011


commit 9e74c66196d292b93d7691b670a3648b6edea9d3
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Wed Nov 30 18:01:39 2011 +0000

    update to git snapshot
    update spec file to meet current guidelines

 compizconfig-python.spec |   24 ++++++++++++++----------
 sources                  |    2 +-
 2 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/compizconfig-python.spec b/compizconfig-python.spec
index 03a26da..150dfa4 100644
--- a/compizconfig-python.spec
+++ b/compizconfig-python.spec
@@ -1,18 +1,22 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%define         basever 0.9.5.92
+%global         basever 0.9.5.92
+
+%global git_snapshot b02413d104573641f293d535537821316ecb8f36
 
 Name:           compizconfig-python
-Version:        0.9.5.92
-Release:        1%{?dist}
+Version:        0.9.5.94
+Release:        0.1.git%{git_snapshot}%{?dist}
 Summary:        Python bindings for the Compiz Configuration System
 
 Group:          Development/Libraries
 License:        LGPLv2+
 URL:            http://www.compiz.org
 
-Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
+# git snapshot
+# http://gitweb.compiz.org/?p=compiz/compizconfig/compizconfig-python;a=snapshot;h=%{git_snapshot};sf=tgz
+Source0:        %{name}-%{git_snapshot}.tar.gz
 
 # libdrm is not available on these arches
 ExcludeArch:    s390 s390x ppc64
@@ -28,7 +32,7 @@ This package contains bindings to configure Compiz's
 plugins and the composite window manager.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -39,17 +43,17 @@ rm -rf $RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
-%defattr(-,root,root,-)
 %doc COPYING
 %{python_sitearch}/compizconfig.so
 %{python_sitearch}/compizconfig*.egg-info
 
 %changelog
+* Wed Nov 30 2011 Leigh Scott <leigh123linux at googlemail.com> - 0.9.5.94-0.1.gitb02413d104573641f293d535537821316ecb8f36
+- update to git snapshot
+- update spec file to meet current guidelines
+
 * Tue Oct 18 2011 Leigh Scott <leigh123linux at googlemail.com> - 0.9.5.92-1
 - new release 0.9.5.92
 
diff --git a/sources b/sources
index 1b9446a..5ee63ad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-95e42a55714a0743a32478bc56b18973  compizconfig-python-0.9.5.92.tar.bz2
+9a874642649be41ab00b31576a843285  compizconfig-python-b02413d104573641f293d535537821316ecb8f36.tar.gz


More information about the scm-commits mailing list