- Build with LFS support (bug #206407).

- Resolves: rhbz#206407
This commit is contained in:
Tim Waugh 2007-01-18 15:46:22 +00:00
parent 82acaa22fd
commit 72edc0ee45
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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 <twaugh@redhat.com> 1.2-25
- Build with LFS support (bug #206407).
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2-24.2.2
- rebuild