X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ElectricFence.spec;h=5ba1b58387b285499e60e97d2914a24901eb74aa;hb=refs%2Ftags%2Fauto%2Fth%2FElectricFence-2.2.4-1;hp=9f6929b2b303c21c8901927fa7634d5bffd564e0;hpb=35fdbb2d94178f39e109294c095a2aa698cd6819;p=packages%2FElectricFence.git diff --git a/ElectricFence.spec b/ElectricFence.spec index 9f6929b..5ba1b58 100644 --- a/ElectricFence.spec +++ b/ElectricFence.spec @@ -21,7 +21,7 @@ Summary(zh_CN.UTF-8): 一种调试器用于检测内存分配错误 Name: ElectricFence Version: 2.2.4 Release: 1 -License: GPL +License: GPL v2 Group: Development/Debuggers Source0: http://ftp.debian.org/debian/pool/main/e/electric-fence/electric-fence_%{version}.tar.gz # Source0-md5: 78197d625452a9bc2d171e47bce0ddff @@ -104,6 +104,7 @@ Biblioteka statyczna Electric Fence. %build %{__make} \ + CC="%{__cc}" \ CFLAGS="%{rpmcflags} -fPIC -DUSE_SEMAPHORE" %install @@ -117,21 +118,21 @@ ln -s libefence.so.0.0 $RPM_BUILD_ROOT%{_libdir}/libefence.so.0 ln -s libefence.so.0.0 $RPM_BUILD_ROOT%{_libdir}/libefence.so install libefence.3 $RPM_BUILD_ROOT%{_mandir}/man3 -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(644,root,root,755) %doc README CHANGES debian/changelog debian/README.debian debian/README.gdb %attr(755,root,root) %{_bindir}/ef -%attr(755,root,root) %{_libdir}/lib*.so.0.0 -%ghost %attr(755,root,root) %{_libdir}/lib*.so.0 -%attr(755,root,root) %{_libdir}/lib*.so -%{_mandir}/man3/* +%attr(755,root,root) %{_libdir}/libefence.so.0.0 +%ghost %attr(755,root,root) %{_libdir}/libefence.so.0 +%attr(755,root,root) %{_libdir}/libefence.so +%{_mandir}/man3/libefence.3* %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libefence.a