[libev/f16] 4.04, fix man page location, spec cleanup

Tom Callaway spot at fedoraproject.org
Tue Aug 9 21:00:32 UTC 2011


commit c7ec2f31d57ac2c7e60691a58072c90cf47e0ff3
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Tue Aug 9 17:00:21 2011 -0400

    4.04, fix man page location, spec cleanup

 libev.spec |   38 +++++++++++---------------------------
 sources    |    2 +-
 2 files changed, 12 insertions(+), 28 deletions(-)
---
diff --git a/libev.spec b/libev.spec
index f1e4f15..42f565a 100644
--- a/libev.spec
+++ b/libev.spec
@@ -2,17 +2,14 @@
 %global inst_srcdir %{buildroot}/%{source_dir}
 
 Name:		libev
-Version:	4.03
-Release:	2%{?dist}
+Version:	4.04
+Release:	1%{?dist}
 Summary:	High-performance event loop/event model with lots of features
-
 Group:		System Environment/Libraries
 License:	BSD or GPLv2+
 URL:		http://software.schmorp.de/pkg/libev.html
 Source0:	http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
 Source1:	%{name}.pc.in
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires:	automake libtool
 
 %description
@@ -23,7 +20,7 @@ featureful. And also smaller.
 %package 	devel
 Summary:	High-performance event loop/event model with lots of features
 Group:		System Environment/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 Requires:	pkgconfig
 
 %description 	devel
@@ -61,17 +58,13 @@ automake
 %configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
 make %{?_smp_mflags}
 
-
 %check
 make check
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+make install DESTDIR=%{buildroot} INSTALL="install -p"
 
-rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}.la
+rm -rf %{buildroot}%{_libdir}/%{name}.la
 
 # Make the source package
 mkdir -p %{inst_srcdir}
@@ -79,38 +72,29 @@ mkdir -p %{inst_srcdir}
 find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
 install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post -p /sbin/ldconfig
-
-
 %postun -p /sbin/ldconfig
 
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{_libdir}/%{name}.so.4
 %{_libdir}/%{name}.so.4.0.0
-%{_mandir}/man?/*
-
 
 %files devel
-%defattr(-,root,root,-)
 %{_libdir}/%{name}.so
 %{_includedir}/libev/
 %{_libdir}/pkgconfig/%{name}.pc
-
+%{_mandir}/man?/*
 
 %files source
-%defattr(-,root,root,-)
 %{source_dir}
 
-
 %changelog
+* Tue Aug  9 2011 Tom Callaway <spot at fedoraproject.org> - 4.04-1
+- move man page
+- cleanup spec
+- update to 4.04
+
 * Mon Jun 13 2011 Matěj Cepl <mcepl at redhat.com> - 4.03-2
 - EL5 cannot have noarch subpackages.
 
diff --git a/sources b/sources
index f5f9dd7..71c9df6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-86cd5c1b42fced1bd02c6e0119e9b865  libev-4.03.tar.gz
+c1130d0a4782681ba5277df1bc3fb335  libev-4.04.tar.gz


More information about the scm-commits mailing list