diff --git a/paho-c.spec b/paho-c.spec index 2b5a213..c3c7c26 100644 --- a/paho-c.spec +++ b/paho-c.spec @@ -1,9 +1,10 @@ Summary: MQTT C Client Name: paho-c Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD and EPL -Source: https://github.com/eclipse/paho.mqtt.c/archive/v%{version}.tar.gz +Source0: https://github.com/eclipse/paho.mqtt.c/archive/v%{version}.tar.gz +Source1: unused.abignore URL: https://eclipse.org/paho/clients/c/ BuildRequires: cmake BuildRequires: gcc @@ -46,11 +47,14 @@ mkdir build.paho && cd build.paho %install cd build.paho %make_install +install -p -m 755 %{SOURCE0} %{buildroot}/%{_datadir}/.paho-c.abignore + %files %license edl-v10 epl-v10 %{_bindir}/paho* %{_libdir}/*.so.* +%{_datadir}/.paho-c.abignore %post -p /sbin/ldconfig @@ -70,6 +74,9 @@ cd build.paho %{_defaultdocdir}/* %changelog +* Mon Apr 30 2018 Otavio R. Piske - 1.2.1-2 +- Adds ABI check suppression in the package + * Mon Apr 30 2018 Otavio R. Piske - 1.2.1-1 - Ignores ABI changes due to unused symbols being removed