]> git.pld-linux.org Git - packages/di.git/commitdiff
- 4.12
authorlisu <lisu@pld-linux.org>
Mon, 21 Jan 2008 06:44:41 +0000 (06:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass proper CFLAGS and LDFLAGS (Makefile.patch)
- set proper path to sed command, it's /bin/sed

Changed files:
    di.spec -> 1.38

di.spec

diff --git a/di.spec b/di.spec
index 890df7a0b28ffd553498a89a0b62810920e6e2b8..94154bf9dc4be3ca282c32c31064f897665e94ec 100644 (file)
--- a/di.spec
+++ b/di.spec
@@ -1,12 +1,13 @@
 Summary:       Disk Info - disk information utility
 Summary(pl.UTF-8):     Disk Info - informacje o dyskach
 Name:          di
-Version:       4.11
+Version:       4.12
 Release:       1
 License:       custom (see LICENSE* files)
 Group:         Applications/System
 Source0:       http://www.gentoo.com/di/%{name}-%{version}.tar.gz
-# Source0-md5: d41461eb23dbe2adab9d074478240b7e
+# Source0-md5: 2a62fb1b362cbaa22426073a06d84e07
+Patch0:                %{name}-Makefile.patch
 URL:           http://www.gentoo.com/di/
 BuildRequires: gettext-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,12 +29,15 @@ Jest zaprojektowane w sposób przenośny na wiele platform.
 
 %prep
 %setup -q
+%patch0 -p1
+sed -e 's@ sed@ /bin/sed@g' -i features/cflags.sh
 
 %build
 %{__make} \
        prefix=%{_prefix} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}"
+       CFLAGS="%{rpmcflags}" \
+       OPTFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.137855 seconds and 4 git commands to generate.