0.17.1-2.rev2: remove/adjust spec file archaisms

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
Jan Pokorný 2015-10-15 20:34:51 +02:00
parent 3015524519
commit df99d6ab35
No known key found for this signature in database
GPG Key ID: 61BBB23A9E8F8DE2

View File

@ -1,13 +1,12 @@
Name: libqb
Version: 0.17.1
Release: 2.rev1%{?dist}
Release: 2.rev2%{?dist}
Summary: An IPC library for high performance servers
Group: System Environment/Libraries
License: LGPLv2+
URL: https://github.com/ClusterLabs/libqb
Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool doxygen procps check-devel
@ -30,21 +29,17 @@ make %{?_smp_mflags}
make -j1 check
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING
%license COPYING
%{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.*
@ -59,7 +54,8 @@ developing applications that use %{name}.
%files devel
%defattr(-,root,root,-)
%doc COPYING README.markdown
%doc README.markdown
%license COPYING
%{_includedir}/qb/
%{_libdir}/libqb.so
%{_libdir}/pkgconfig/libqb.pc