]> git.pld-linux.org Git - packages/dmidecode.git/blobdiff - dmidecode.spec
- rel. 2 for RA
[packages/dmidecode.git] / dmidecode.spec
index c8f7486bf6c194a706cb82b6d6badd5568ef1563..4ea55a8099aa5c74c36598ee4c28f7a6ae936e7b 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       A tool for dumping a computer's DMI table contents
 Summary(pl):   Narzêdzie do zrzucania zawarto¶ci tabeli DMI komputera
 Name:          dmidecode
-Version:       2.1
-Release:       0.2
+Version:       2.3
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       http://savannah.nongnu.org/download/%{name}/%{name}.pkg/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: b5717e623b7aaceee7c46ba3205c2d10
+# Source0-md5: b826e2eda9a1710c85e11e5c26920d23
 URL:           http://www.nongnu.org/dmidecode
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,13 +26,16 @@ u
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -Wall -W -pedantic"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sbindir}
 
-%{__make} install PREFIX=$RPM_BUILD_ROOT/usr
+%{__make} install \
+       PREFIX=$RPM_BUILD_ROOT%{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.116575 seconds and 4 git commands to generate.