[md5deep] noew upstream version 4.4

rebus rebus at fedoraproject.org
Wed Sep 24 02:21:15 UTC 2014


commit 2102c5b02758740d53293ba4480ee4351ff4e8d8
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Wed Sep 24 04:20:28 2014 +0200

    noew upstream version 4.4

 .gitignore   |    1 +
 md5deep.spec |   20 ++++++++++++++++----
 sources      |    2 +-
 3 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 51a5488..27fccec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ md5deep-3.6.tar.gz
 /md5deep-4.1.tar.gz
 /md5deep-4.2.tar.gz
 /md5deep-4.3.tar.gz
+/md5deep-4.4-cd2ed74.tar.gz
diff --git a/md5deep.spec b/md5deep.spec
index 89158a6..f7ecf48 100644
--- a/md5deep.spec
+++ b/md5deep.spec
@@ -1,11 +1,19 @@
+%define         gituser         jessek
+%define         gitname         hashdeep
+%global         commit          cd2ed7416685a5e83eb10bb659d6e9bec01244ae
+%global         shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+
 Name:           md5deep
-Version:        4.3
-Release:        5%{?dist}
+Version:        4.4
+Release:        1%{?dist}
 Summary:        A set of cross-platform tools to compute hashes
 Group:          Applications/File
 License:        GPLv2
 URL:            http://md5deep.sf.net/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+#Source0:       http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:        https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 %description
@@ -17,7 +25,8 @@ do not match any of the known hashes. This version supports MD5, SHA-1,
 SHA-256, Tiger, and Whirlpool hashes.
 
 %prep
-%setup -q
+%setup -q -n %{gitname}-%{commit}
+autoreconf -vif
 
 %build
 export CFLAGS="-fPIE -pie ${RPM_OPT_FLAGS}"
@@ -39,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Wed Sep 24 2014 Michal Ambroz <rebus AT seznam.cz> - 4.4-1
+- new upstream version 4.4
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.3-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 8938b98..e2a0e1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f172e686ca1df83a53308ad90f7f706d  md5deep-4.3.tar.gz
+0228325723661214d754a4ff12086cac  md5deep-4.4-cd2ed74.tar.gz


More information about the scm-commits mailing list