diff --git a/symlinks-1.2-nostatic.patch b/symlinks-1.2-nostatic.patch index c550307..7e26608 100644 --- a/symlinks-1.2-nostatic.patch +++ b/symlinks-1.2-nostatic.patch @@ -5,7 +5,7 @@ symlinks: symlinks.c - gcc -Wall -Wstrict-prototypes -O2 -N -s -o symlinks symlinks.c -+ gcc -Wall -Wstrict-prototypes ${RPM_OPT_FLAGS} -o symlinks symlinks.c ++ gcc -Wall -Wstrict-prototypes ${CFLAGS} -o symlinks symlinks.c install: all symlinks.8 install -m 755 -o root -g root symlinks /usr/local/bin diff --git a/symlinks.spec b/symlinks.spec index 6248bf3..4d15268 100644 --- a/symlinks.spec +++ b/symlinks.spec @@ -1,7 +1,7 @@ Summary: A utility which maintains a system's symbolic links. Name: symlinks Version: 1.2 -Release: 24.2.2 +Release: 25%{?dist} Group: Applications/System License: distributable Source: ftp://metalab.unc.edu/pub/Linux/utils/file/%{name}-%{version}.tar.gz @@ -26,7 +26,7 @@ symlinks on your system. %patch2 -p1 %build -make +make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %install mkdir -p $RPM_BUILD_ROOT%{_bindir} @@ -43,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/symlinks.8* %changelog +* Thu Jan 18 2007 Tim Waugh 1.2-25 +- Build with LFS support (bug #206407). + * Wed Jul 12 2006 Jesse Keating - 1.2-24.2.2 - rebuild