[openscad] New stable release 2013.01

Miro Hrončok churchyard at fedoraproject.org
Sat Jan 19 13:12:23 UTC 2013


commit fccf9646bef6c2f764908e3af9ac183a59cc770d
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Sat Jan 19 14:12:16 2013 +0100

    New stable release 2013.01

 .gitignore    |    1 +
 openscad.spec |   15 +++++++++------
 sources       |    2 +-
 3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7171c75..242fddb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /openscad-2012.10.31.tar.gz
 /openscad-2013.01.05.tar.gz
 /openscad-2013.01.08.tar.gz
+/openscad-2013.01.17-6ecf96b.tar.gz
diff --git a/openscad.spec b/openscad.spec
index b158428..0b1eb9b 100644
--- a/openscad.spec
+++ b/openscad.spec
@@ -1,15 +1,14 @@
 Name:           openscad
-Version:        2013.01.08
+Version:        2013.01.17
 Release:        1%{?dist}
 Summary:        The Programmers Solid 3D CAD Modeller
 # COPYING contains a linking exception for CGAL
 License:        GPLv2 with exceptions
 Group:          Applications/Engineering
 URL:            http://www.openscad.org/
-# commit hash cd152aaefc
-# git clone git://github.com/openscad/openscad.git; cd openscad
-# git archive master --format tar.gz > ../%%{name}-%%{version}.tar.gz
-Source0:        %{name}-%{version}.tar.gz
+%global commit 6ecf96b081626c512343fc1a8f7aa4a202ffaa86
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+Source0:        https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
 BuildRequires:  qt-devel >= 4.4
 BuildRequires:  bison >= 2.4
 BuildRequires:  flex >= 2.5.35
@@ -32,7 +31,7 @@ parts but pretty sure is not what you are looking for when you are more
 interested in creating computer-animated movies.
 
 %prep
-%setup -cq
+%setup -qn %{name}-%{commit}
 
 %build
 qmake-qt4 VERSION=%{version} PREFIX=%{_prefix}
@@ -58,6 +57,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 %{_mandir}/man1/*
 
 %changelog
+* Sat Jan 19 2013 Miro Hrončok <mhroncok at redhat.com> - 2013.01.17-1
+- New stable release 2013.01
+- Updated to respect GitHub rule
+
 * Tue Jan 08 2013 Miro Hrončok <mhroncok at redhat.com> - 2013.01.08-1
 - New version
 
diff --git a/sources b/sources
index 5f04944..e9dcb18 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3689f3c2e3db2021c8fefffb39a04ead  openscad-2013.01.08.tar.gz
+f7c22a5d9ca3232c58c9907b7756a57f  openscad-2013.01.17-6ecf96b.tar.gz


More information about the scm-commits mailing list