- fixed problem with perl expression in the build .spec section

This commit is contained in:
kzak 2005-03-05 15:15:38 +00:00
parent 32cbca5d34
commit edd92289c3

View File

@ -6,7 +6,7 @@
Summary: Utilities for managing processes on your system.
Name: psmisc
Version: 21.5
Release: 3
Release: 4
License: BSD/GPL
Group: Applications/System
Source: ftp://ftp.sf.net/pub/sourceforge/psmisc/psmisc-%{version}.tar.gz
@ -38,7 +38,7 @@ of processes that are using specified files or filesystems.
%build
perl -pi -e "s,^CFLAGS =,CFLAGS = $RPM_OPT_FLAGS -D_GNU_SOURCE,g" */Makefile.*
perl -pi -e "s/^CFLAGS =/CFLAGS = $RPM_OPT_FLAGS -D_GNU_SOURCE/g" */Makefile.*
# FIXME: Is --prefix actually necessary here? I think it's redundant... test later...
%if %{WITH_SELINUX}
@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 21.5-4
- fixed problem with perl expression in the build .spec section
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 21.5-3
- rebuilt