[mtdev] mtdev 1.1.2

Peter Hutterer whot at fedoraproject.org
Mon Jun 18 06:39:42 UTC 2012


commit e83a92f2cf63971ff283d0117df3fa745b42c1f2
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Jun 18 16:43:41 2012 +1000

    mtdev 1.1.2
    
    - upstream provides tarballs now, add the needed spec file changes
    
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

 .gitignore |    1 +
 mtdev.spec |   19 ++++++++++++++-----
 sources    |    2 +-
 3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 637b4c8..797df60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 mtdev-20100706.tar.bz2
 mtdev-20100803.tar.bz2
 /mtdev-20110105.tar.bz2
+/mtdev-1.1.2.tar.bz2
diff --git a/mtdev.spec b/mtdev.spec
index 2216580..eccc7ac 100644
--- a/mtdev.spec
+++ b/mtdev.spec
@@ -1,9 +1,9 @@
 %global tarball mtdev
-%global gitdate 20110105
+#global gitdate 20110105
 
 Name:           mtdev
-Version:        1.1.0
-Release:        3.%{?gitdate}%{?dist}
+Version:        1.1.2
+Release:        1%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
 Summary:        Multitouch Protocol Translation Library
 
 Group:          System Environment/Libraries
@@ -11,9 +11,14 @@ License:        MIT
 URL:            http://bitmath.org/code/mtdev/
 
 # upstream doesn't have tarballs
+
+%if 0%{?gitdate}
 Source0:        %{tarball}-%{gitdate}.tar.bz2
 Source1:        make-git-snapshot.sh
 Source2:        commitid
+%else
+Source0:        http://bitmath.org/code/%{name}/%{name}-%{version}.tar.bz2
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  autoconf automake libtool
@@ -34,7 +39,7 @@ Requires:       pkgconfig
 Multitouch protocol translation library development package.
 
 %prep
-%setup -q -n %{tarball}-%{gitdate}
+%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
 
 %build
 autoreconf -v --install || exit 1
@@ -56,7 +61,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING README CREDITS
+%doc COPYING README
 %{_libdir}/libmtdev.so.*
 
 %files devel
@@ -69,6 +74,10 @@ rm -rf %{buildroot}
 %{_bindir}/mtdev-test
 
 %changelog
+* Mon Jun 18 2012 Peter Hutterer <peter.hutterer at redhat.com> 1.1.2-1
+- mtdev 1.1.2
+- upstream provides tarballs now, add the needed spec file changes
+ 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-3.20110105
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index f949d9d..14e505a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c9f1e33e2da1df9390fade545db9c9e  mtdev-20110105.tar.bz2
+d9c7700918fc392e29da7477ae20c5c2  mtdev-1.1.2.tar.bz2


More information about the scm-commits mailing list