0.17.1-2.rev2: remove/adjust spec file archaisms
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
3015524519
commit
df99d6ab35
12
libqb.spec
12
libqb.spec
@ -1,13 +1,12 @@
|
|||||||
Name: libqb
|
Name: libqb
|
||||||
Version: 0.17.1
|
Version: 0.17.1
|
||||||
Release: 2.rev1%{?dist}
|
Release: 2.rev2%{?dist}
|
||||||
Summary: An IPC library for high performance servers
|
Summary: An IPC library for high performance servers
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/libqb
|
URL: https://github.com/ClusterLabs/libqb
|
||||||
Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz
|
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
|
BuildRequires: autoconf automake libtool doxygen procps check-devel
|
||||||
|
|
||||||
@ -30,21 +29,17 @@ make %{?_smp_mflags}
|
|||||||
make -j1 check
|
make -j1 check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%{_sbindir}/qb-blackbox
|
%{_sbindir}/qb-blackbox
|
||||||
%{_libdir}/libqb.so.*
|
%{_libdir}/libqb.so.*
|
||||||
|
|
||||||
@ -59,7 +54,8 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README.markdown
|
%doc README.markdown
|
||||||
|
%license COPYING
|
||||||
%{_includedir}/qb/
|
%{_includedir}/qb/
|
||||||
%{_libdir}/libqb.so
|
%{_libdir}/libqb.so
|
||||||
%{_libdir}/pkgconfig/libqb.pc
|
%{_libdir}/pkgconfig/libqb.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user