- patched to compile with -Werror (rhbz#429385)
This commit is contained in:
parent
d4048032a3
commit
fc098d0755
File diff suppressed because it is too large
Load Diff
13
cdrkit.spec
13
cdrkit.spec
@ -1,7 +1,7 @@
|
||||
Summary: A collection of CD/DVD utilities
|
||||
Name: cdrkit
|
||||
Version: 1.1.6
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
URL: http://cdrkit.org/
|
||||
@ -11,6 +11,7 @@ Patch1: genisoimage-dlength.patch
|
||||
Patch2: icedax-segfault.patch
|
||||
Patch3: wodim-prtypo.patch
|
||||
Patch4: cdrkit-1.1.6-oldsyn.patch
|
||||
Patch5: cdrkit-1.1.6-werror.patch
|
||||
|
||||
BuildRequires: cmake libcap-devel zlib-devel perl file-devel
|
||||
|
||||
@ -75,6 +76,7 @@ rates. Icedax can also be used as a CD player.
|
||||
%patch2 -p1 -b .segf
|
||||
%patch3 -p1 -b .prtypo
|
||||
%patch4 -p1 -b .oldsyn
|
||||
%patch5 -p1 -b .werror
|
||||
find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g'
|
||||
find doc -type f -print0 | xargs -0 chmod a-x
|
||||
|
||||
@ -82,9 +84,9 @@ find doc -type f -print0 | xargs -0 chmod a-x
|
||||
%build
|
||||
mkdir fedora
|
||||
cd fedora
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
export FFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -Werror -Wno-unused-function -Wno-unused-variable"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
export FFLAGS="$CFLAGS"
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
||||
@ -211,6 +213,9 @@ fi
|
||||
%{_mandir}/man1/readmult.*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 25 2008 Harald Hoyer <harald@redhat.com> 1.1.6-10
|
||||
- patched to compile with -Werror (rhbz#429385)
|
||||
|
||||
* Thu Feb 21 2008 Harald Hoyer <harald@redhat.com> 1.1.6-9
|
||||
- fixed loop on error message for old dev syntax (rhbz#429386)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user