[compizconfig-python] update to git snapshot update spec file to meet current guidelines
leigh123linux
leigh123linux at fedoraproject.org
Wed Nov 30 17:59:32 UTC 2011
commit 5e0fd8a7c2c3f186d83e2df00820d5f564129875
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Wed Nov 30 17:59:17 2011 +0000
update to git snapshot
update spec file to meet current guidelines
.gitignore | 1 +
compizconfig-python.spec | 24 ++++++++++++++----------
sources | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3fe0545..6c54b66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ compizconfig-python-0.8.4.tar.bz2
/compiz-compizconfig-python-0.9.4.tar.bz2
/compizconfig-python-0.9.5.0.tar.bz2
/compizconfig-python-0.9.5.92.tar.bz2
+/compizconfig-python-b02413d104573641f293d535537821316ecb8f36.tar.gz
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