[flac] fix ftbfs
Peter Robinson
pbrobinson at fedoraproject.org
Fri Dec 9 16:46:46 UTC 2011
commit 74a333d87f56664e745697dbac5532d0a5c6da54
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Fri Dec 9 16:38:50 2011 +0000
fix ftbfs
flac.spec | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/flac.spec b/flac.spec
index fc61e7b..08bcece 100644
--- a/flac.spec
+++ b/flac.spec
@@ -1,7 +1,7 @@
Summary: An encoder/decoder for the Free Lossless Audio Codec
Name: flac
Version: 1.2.1
-Release: 7%{?dist}
+Release: 8%{?dist}
License: BSD and GPLv2+
Group: Applications/Multimedia
Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
@@ -12,7 +12,7 @@ Patch4: flac-1.2.1-tests.patch
Patch5: flac-1.2.1-cflags.patch
Patch6: flac-1.2.1-bitreader.patch
URL: http://flac.sourceforge.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildRequires: libogg-devel
BuildRequires: automake autoconf libtool gettext-devel
%ifarch %{ix86}
@@ -58,16 +58,15 @@ will use the Free Lossless Audio Codec.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
find doc/ -name "Makefile*" -exec rm -f {} \;
+rm %{buildroot}%{_libdir}/*.a
+rm %{buildroot}%{_libdir}/*.la
+
%check
make -C test check &> /dev/null
-%clean
-rm -rf %{buildroot}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -84,13 +83,14 @@ rm -rf %{buildroot}
%defattr(-, root, root)
%doc doc/html
%{_includedir}/*
-%exclude %{_libdir}/*.a
-%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_datadir}/aclocal/*.m4
%changelog
+* Fri Dec 9 2011 Peter Robinson <pbrobinson at fedoraproject.org> - 1.2.1-8
+- Rebuild to fix FTBFS
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list