rpms/ElectricFence/devel ElectricFence.spec,1.16,1.17
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Feb 7 17:22:50 UTC 2007
Author: pmachata
Update of /cvs/dist/rpms/ElectricFence/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20180
Modified Files:
ElectricFence.spec
Log Message:
- Tidy up the specfile per rpmlint comments
Index: ElectricFence.spec
===================================================================
RCS file: /cvs/dist/rpms/ElectricFence/devel/ElectricFence.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ElectricFence.spec 12 Jul 2006 05:43:56 -0000 1.16
+++ ElectricFence.spec 7 Feb 2007 17:22:48 -0000 1.17
@@ -1,16 +1,16 @@
-Summary: A debugger which detects memory allocation violations.
+Summary: A debugger which detects memory allocation violations
Name: ElectricFence
Version: 2.2.2
-Release: 20.2.2
+Release: 21
License: GPL
Group: Development/Tools
+URL: http://perens.com/FreeSoftware/ElectricFence/
Source: ftp://ftp.perens.com/pub/ElectricFence/beta/%{name}-%{version}.tar.gz
Patch1: ElectricFence-2.0.5-longjmp.patch
Patch2: ElectricFence-2.1-vaarg.patch
Patch3: ElectricFence-2.2.2-pthread.patch
Patch4: ElectricFence-2.2.2-madvise.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires: /sbin/ldconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
ElectricFence is a utility for C programming and
@@ -35,7 +35,7 @@
make CFLAGS='${RPM_OPT_FLAGS} -DUSE_SEMAPHORE -fpic'
%install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}{%{_bindir},%{_libdir},%{_mandir}/man3}
make BIN_INSTALL_DIR=%{buildroot}%{_bindir} \
@@ -46,13 +46,12 @@
echo ".so man3/efence.3" > %{buildroot}%{_mandir}/man3/libefence.3
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
-%postun
-/sbin/ldconfig
%files
%defattr(-,root,root)
@@ -63,6 +62,9 @@
%{_mandir}/*/*
%changelog
+* Wed Feb 7 2007 Petr Machata <pmachata at redhat.com> - 2.2.2-21
+- Tidy up the specfile per rpmlint comments
+
* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 2.2.2-20.2.2
- rebuild
More information about the fedora-cvs-commits
mailing list