]> git.pld-linux.org Git - packages/fvhlib.git/commitdiff
- removed redundant BR: kernel-headers (glibc-devel depends on its kh,
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Feb 2003 16:02:43 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  this package doesn't contain any kernel modules)
- changed linking patch to use gcc to link library
- use proper CC and CFLAGS

Changed files:
    fvhlib.spec -> 1.2

fvhlib.spec

index dfcfa7aa3dec079f58207e55f5628f71a636fdb7..b30e553232a44b289069db188dfdb99c6adcb6ac 100644 (file)
@@ -1,7 +1,3 @@
-
-# conditional build:
-# _without_dist_kernel    without kernel from distribution
-
 Summary:       The fvhlib Library
 Summary(pl):   Biblioteka fvhlib
 Name:          fvhlib
@@ -13,7 +9,6 @@ Source0:       http://www.vanheusden.com/fvhlib/%{name}-%{version}.tgz
 Patch0:                %{name}-linking.patch
 URL:           http://www.vanheusden.com/fvhlib/
 BuildRequires: openssl-devel
-%{!?_without_dist_kernel:BuildRequires: kernel-headers}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -43,7 +38,7 @@ Group:                Development/Libraries
 Requires:      %{name}-devel = %{version}
 
 %description static
-The fvhlib-static package contains the static libraries of fvhlib.
+The fvhlib-static package contains the static version of fvhlib.
 
 %description static -l pl
 Biblioteka statyczna fvhlib.
@@ -53,7 +48,9 @@ Biblioteka statyczna fvhlib.
 %patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -fPIC -Wshadow -Wwrite-strings -Wconversion"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -63,7 +60,7 @@ install libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}
 install libfvh.a $RPM_BUILD_ROOT%{_libdir}
 install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
 
-ln -s libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libfvh.so
+ln -sf libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libfvh.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.93102 seconds and 4 git commands to generate.