From 8156fb7afc1ed8120d49d930fc3b5ab9be79997d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Aug 2013 15:25:48 +0200 Subject: [PATCH] cleanups --- librabbitmq.spec | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/librabbitmq.spec b/librabbitmq.spec index 265af5f..f1bd72d 100644 --- a/librabbitmq.spec +++ b/librabbitmq.spec @@ -1,22 +1,17 @@ Name: librabbitmq -Summary: Client library and command line tools for AMQP +Summary: Client library for AMQP Version: 0.3.0 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT Group: System Environment/Libraries URL: https://github.com/alanxz/rabbitmq-c Source0: https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool BuildRequires: python-simplejson # For tools -%if 0%{?rhel} == 5 -BuildRequires: popt -%else BuildRequires: popt-devel -%endif # For man page BuildRequires: xmlto @@ -66,7 +61,6 @@ make %{_smp_mflags} %install -rm -rf %{buildroot} make install DESTDIR="%{buildroot}" rm %{buildroot}%{_libdir}/%{name}.la @@ -76,37 +70,32 @@ rm %{buildroot}%{_libdir}/%{name}.la make check -%clean -rm -rf %{buildroot} - - %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files -%defattr (-,root,root,-) %doc AUTHORS README.md THANKS TODO LICENSE-MIT %{_libdir}/%{name}.so.1* %files devel -%defattr (-,root,root,-) %doc Examples %{_libdir}/%{name}.so %{_includedir}/amqp* %{_libdir}/pkgconfig/librabbitmq.pc %files tools -%defattr(-,root,root) %{_bindir}/amqp-* %doc %{_mandir}/man1/amqp-*.1* %doc %{_mandir}/man7/librabbitmq-tools.7.gz %changelog +* Thu Aug 1 2013 Remi Collet - 0.3.0-3 +- cleanups + * Wed Mar 13 2013 Remi Collet - 0.3.0-2 - remove tools from main package