]> git.pld-linux.org Git - packages/dmidecode.git/commitdiff
- remove workaround for BSD make from Makefile
authorsparky <sparky@pld-linux.org>
Thu, 6 Jan 2011 20:57:17 +0000 (20:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- more rpm*flags

Changed files:
    dmidecode.spec -> 1.21

dmidecode.spec

index c57f6c8a621efcea3a402a6ce945ecb095df76ae..162fad882428fd8d7bea0f8140e54f02bcd41827 100644 (file)
@@ -8,6 +8,7 @@ Group:          Applications/System
 Source0:       http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.bz2
 # Source0-md5: 3c9c4d55a40b78600f3b43bfa64616f9
 URL:           http://www.nongnu.org/dmidecode/
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,10 +26,14 @@ użyteczne kawałki informacji takie jak numery seryjne i rewizja BIOSu.
 %prep
 %setup -q
 
+# GNU make no longer ignores != assignment
+sed '/PROGRAMS !=/d' -i Makefile
+
 %build
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -Wall -W -pedantic"
+       CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.120278 seconds and 4 git commands to generate.