[xdelta] Update to 3.0.4

Adam Tkac atkac at fedoraproject.org
Tue Sep 4 17:18:39 UTC 2012


commit 5cff0577c3aeef3a2372a92854c23986226a8d94
Author: Adam Tkac <atkac at redhat.com>
Date:   Tue Sep 4 19:18:19 2012 +0200

    Update to 3.0.4
    
    Signed-off-by: Adam Tkac <atkac at redhat.com>

 .gitignore            |    1 +
 sources               |    2 +-
 xdelta.spec           |   27 +++++++++++----------------
 xdelta30-cflags.patch |   21 ---------------------
 4 files changed, 13 insertions(+), 38 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b707887..d4461b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 xdelta-1.1.4.tar.gz
 /xdelta3.0z.tar.gz
 /xdelta3.0.0.tar.gz
+/xdelta3-3.0.4.tar.gz
diff --git a/sources b/sources
index 98c93d4..6bd54c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5fe038be3a266d2a7913e10d1cec6d88  xdelta3.0.0.tar.gz
+c04f7fd9da45741a0095438cfe527b89  xdelta3-3.0.4.tar.gz
diff --git a/xdelta.spec b/xdelta.spec
index 95c4799..f75f854 100644
--- a/xdelta.spec
+++ b/xdelta.spec
@@ -1,14 +1,14 @@
 Summary: A binary file delta generator
 Name: xdelta
-Version: 3.0.0
-Release: 4%{?dist}
+Version: 3.0.4
+Release: 1%{?dist}
 License: GPLv2
 Group: Development/Tools
-Source0: http://xdelta.googlecode.com/files/xdelta%{version}.tar.gz
+Source0: http://xdelta.googlecode.com/files/xdelta3-%{version}.tar.gz
 Url: http://xdelta.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch0: xdelta30-cflags.patch
+BuildRequires: autoconf automake
 
 %description
 Xdelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
@@ -17,20 +17,12 @@ version control replacement library. Xdelta uses a binary file delta
 algorithm to replace the standard diff program used by RCS
 
 %prep
-%setup -q -n %{name}%{version}
-
-for all in `find . -type f -perm -001 | egrep '(Makefile|README|.*[ch]$)'`; do
-    chmod -x "$all"
-done
-
-chmod -x COPYING xdelta3.1 *.txt *.vcproj *.wxi *.wxs *.swig
-
-%patch0 -p1 -b .cflags
+%setup -q -n %{name}3-%{version}
 
 %build
-cat << \EOF > config.mak
-CFLAGS=%{optflags}
-EOF
+mkdir m4
+autoreconf -fiv
+%configure
 make %{?_smp_mflags}
 
 %install
@@ -61,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/xdelta*
 
 %changelog
+* Tue Sep 04 2012 Adam Tkac <atkac redhat com> - 3.0.4-1
+- update to 3.0.4
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list