[esnacc-dev] [PATCH] redhat: Fix up the esnacc package spec

Aaron Conole aconole at bytheb.org
Fri Mar 17 19:29:05 UTC 2017

The specfile in here doesn't reference a proper url, includes a .so in
the wrong packet, fails to run post/postun ldconfig, and has the wrong
license descriptor for the compiler (the compiler is GPLv2+).

Signed-off-by: Aaron Conole <aconole at bytheb.org>
 redhat/esnacc.spec.in | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/redhat/esnacc.spec.in b/redhat/esnacc.spec.in
index 245d3f8..9ac9ccf 100644
--- a/redhat/esnacc.spec.in
+++ b/redhat/esnacc.spec.in
@@ -25,8 +25,8 @@ Group: System Environment/Libraries
 URL: http://esnacc.org/
 Version: @VERSION@
 Release: 1
-License: Public Domain
-Source: http://esnacc.org/files/esnacc-%version.tar.gz
+License: GPLv2+
+Source: http://esnacc.org/releases/esnacc-%version.tar.gz
 BuildRequires: flex bison gcc-c++ libtool-ltdl libtool-ltdl-devel
 BuildRequires: autoconf automake libxslt
 Requires: libesnacc = %version-%release
@@ -66,6 +66,9 @@ make %{?_smp_mflags} CFLAGS='-Wall -O2 -DYYTEXT_POINTER -fPIC'
 make DESTDIR=%{buildroot} install
+%post -n libesnacc -p /sbin/ldconfig
+%postun -n libesnacc -p /sbin/ldconfig
@@ -73,18 +76,23 @@ make DESTDIR=%{buildroot} install
 %files -n libesnacc
 %files devel
+* Fri Mar 17 2017 Aaron Conole <aconole at bytheb.org> - 1.8.0-2
+- Fix up the esnacc package for fedpkg compliance.
 * Wed Nov 16 2016 Aaron Conole <aconole at bytheb.org> - 1.80-1
 - Add missing policy.h

More information about the dev mailing list