drop ldconfig scriptlets

This commit is contained in:
Remi Collet 2018-02-15 09:01:01 +01:00
parent 05ff1333ac
commit 47916cb74a

View File

@ -1,6 +1,6 @@
# Fedora spec file for librabbitmq
#
# Copyright (c) 2012-2015 Remi Collet
# Copyright (c) 2012-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -17,9 +17,8 @@
Name: %{libname}
Summary: Client library for AMQP
Version: 0.8.0
Release: 5%{?dist}
Release: 6%{?dist}
License: MIT
Group: System Environment/Libraries
URL: https://github.com/alanxz/rabbitmq-c
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
@ -39,7 +38,6 @@ speaking protocol versions 0-9-1.
%package devel
Summary: Header files and development libraries for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -49,7 +47,6 @@ for %{name}.
%package tools
Summary: Example tools built using the librabbitmq package
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}
%description tools
@ -93,13 +90,7 @@ grep @ %{buildroot}%{_libdir}/pkgconfig/librabbitmq.pc && exit 1
make test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{!?_licensedir:%global license %%doc}
%license LICENSE-MIT
%{_libdir}/%{libname}.so.%{soname}*
@ -118,6 +109,9 @@ make test
%changelog
* Thu Feb 15 2018 Remi Collet <remi@remirepo.net> - 0.8.0-6
- drop ldconfig scriptlets
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild