[flac] update to 1.3.0pre1

Miroslav Lichvar mlichvar at fedoraproject.org
Tue Mar 5 09:13:53 UTC 2013


commit 942a2865d21b6fdedcb05e7c79c7735445116041
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Tue Mar 5 09:39:15 2013 +0100

    update to 1.3.0pre1

 .gitignore |    2 +-
 flac.spec  |   21 +++++++++------------
 sources    |    2 +-
 3 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3bdd86a..2903e01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/flac-20121204gita43f56.tar.xz
+/flac-1.3.0pre1.tar.xz
diff --git a/flac.spec b/flac.spec
index 750d00f..810b6b6 100644
--- a/flac.spec
+++ b/flac.spec
@@ -1,17 +1,12 @@
-%global gitdate 20121204
-%global gitrev a43f56
 Summary: An encoder/decoder for the Free Lossless Audio Codec
 Name: flac
-Version: 1.2.1
-Release: 13.%{gitdate}git%{gitrev}%{?dist}
+Version: 1.3.0
+Release: 0.1.pre1%{?dist}
 License: BSD and GPLv2+ and GFDL
 Group: Applications/Multimedia
 
-# git clone git://git.xiph.org/flac.git; cd flac
-# git archive --prefix=flac/ %{gitrev} | xz > flac-%{gitdate}git%{gitrev}.tar.xz
-Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
-#Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
-URL: http://flac.sourceforge.net/
+Source0: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre1.tar.xz
+URL: http://www.xiph.org/flac/
 
 Requires: %{name}-libs = %{version}-%{release}
 
@@ -58,11 +53,9 @@ This package contains all the files needed to develop applications that
 will use the Free Lossless Audio Codec.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}pre1
 
 %build
-./autogen.sh -V
-
 # -funroll-loops makes encoding about 10% faster
 export CFLAGS="%{optflags} -funroll-loops"
 %configure \
@@ -70,6 +63,10 @@ export CFLAGS="%{optflags} -funroll-loops"
     --disable-silent-rules \
     --disable-thorough-tests
 
+# remove RPATH
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
 make %{?_smp_mflags}
 
 %install
diff --git a/sources b/sources
index 3f62347..d13afcb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d768998eebf55dbabb715d7bda03ebe5  flac-20121204gita43f56.tar.xz
+dbeb9fa0f808fc0064e4461e769c184a  flac-1.3.0pre1.tar.xz


More information about the scm-commits mailing list