fix ftbfs
This commit is contained in:
parent
26c7e85f8c
commit
74a333d87f
16
flac.spec
16
flac.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
||||||
Name: flac
|
Name: flac
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
|
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
|
Patch5: flac-1.2.1-cflags.patch
|
||||||
Patch6: flac-1.2.1-bitreader.patch
|
Patch6: flac-1.2.1-bitreader.patch
|
||||||
URL: http://flac.sourceforge.net/
|
URL: http://flac.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: automake autoconf libtool gettext-devel
|
BuildRequires: automake autoconf libtool gettext-devel
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -58,16 +58,15 @@ will use the Free Lossless Audio Codec.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
find doc/ -name "Makefile*" -exec rm -f {} \;
|
find doc/ -name "Makefile*" -exec rm -f {} \;
|
||||||
|
|
||||||
|
rm %{buildroot}%{_libdir}/*.a
|
||||||
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make -C test check &> /dev/null
|
make -C test check &> /dev/null
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -84,13 +83,14 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc doc/html
|
%doc doc/html
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%exclude %{_libdir}/*.a
|
|
||||||
%exclude %{_libdir}/*.la
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 9 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.1-8
|
||||||
|
- Rebuild to fix FTBFS
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-7
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user