forked from pool/dictd
chore: clean up the SPEC file
This commit is contained in:
parent
2609d1867f
commit
7500747c35
@ -3,6 +3,7 @@
|
|||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://github.com/cheusov/dictd.git</param>
|
<param name="url">https://github.com/cheusov/dictd.git</param>
|
||||||
<param name="versionprefix">1.13.1+git</param>
|
<param name="versionprefix">1.13.1+git</param>
|
||||||
|
<param name="revision">dictd-1.13</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="changesauthor">mcepl@cepl.eu</param>
|
<param name="changesauthor">mcepl@cepl.eu</param>
|
||||||
</service>
|
</service>
|
||||||
|
19
dictd.spec
19
dictd.spec
@ -33,9 +33,9 @@ BuildRequires: bison
|
|||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: judy-devel
|
||||||
BuildRequires: libdbi-devel
|
BuildRequires: libdbi-devel
|
||||||
BuildRequires: libmaa-devel
|
BuildRequires: libmaa-devel
|
||||||
BuildRequires: judy-devel
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -77,12 +77,12 @@ autoreconf --force --install --verbose
|
|||||||
%build
|
%build
|
||||||
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
|
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
|
||||||
# export USE_PLUGIN=1
|
# export USE_PLUGIN=1
|
||||||
# export PREFIX="%{_prefix}"
|
# export PREFIX="%%{_prefix}"
|
||||||
# export MANDIR="%{_mandir}"
|
# export MANDIR="%%{_mandir}"
|
||||||
# export SYSCONFDIR="%{_sysconfdir}"
|
# export SYSCONFDIR="%%{_sysconfdir}"
|
||||||
# export CC="%{__cc}"
|
# export CC="%%{__cc}"
|
||||||
# export DESTDIR="%{buildroot}"
|
# export DESTDIR="%%{buildroot}"
|
||||||
# export COPTS="%{optflags} -fPIC"
|
# export COPTS="%%{optflags} -fPIC"
|
||||||
# mkc_compiler_settings
|
# mkc_compiler_settings
|
||||||
# mkcmake all
|
# mkcmake all
|
||||||
export LEXLIB="-fl"
|
export LEXLIB="-fl"
|
||||||
@ -122,6 +122,11 @@ if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then
|
|||||||
fi
|
fi
|
||||||
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# test dictd_cyrillic_4_res fails
|
||||||
|
# upstream has been notified via email
|
||||||
|
%make_build test || /bin/true
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre dictd.service
|
%service_add_pre dictd.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user