>On Wednesday, September 22, 2021, 08:32:05 AM CDT, Vitaly Zaitsev via devel
><devel@lists.fedoraproject.org> wrote:
> On 22/09/2021 15:24, Globe Trotter via devel wrote:
>> So, it appears that there is a standard /usr/lib64? But is it being set
>> directly by the spec file? How do I unset it? Any suggestions?
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_removing_rpath
--
Based on this document, I added
%__arch_install_post \
/usr/lib/rpm/check-rpaths \
/usr/lib/rpm/check-buildroot
to my (new) file .rpmmacros.
However, when I compile I do not get any error at all when I use:
rpmbuild -ba sylfilter.spec
Is there something else that i have to do. Again, I have the --disable-rpath
flag set but appears to have no effect on koji.
### for Fedora ###
Name: sylfilter
Summary: A generic message filter library and command-line tools
Version: 0.8
Release: 21%{?dist}
License: BSD
URL: http://sylpheed.sraoss.jp/sylfilter/
Source0: http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%{version}.tar.xz
BuildRequires: make
BuildRequires: gcc
BuildRequires: sqlite-devel
BuildRequires: glib2-devel
BuildRequires: sylpheed-devel
%package devel
Summary: Development files for sylfilter
Requires: sylfilter%{?_isa} = %{version}-%{release}
Requires: sqlite-devel
Requires: glib2-devel
%description
This is SylFilter, a generic message filter library, and some command-line tools
that provide a Bayesian filter which is very popular as a spam filtering
algorithm.
SylFilter is also internationalized and can be applied to any languages.
The SylFilter library provides simple but powerful C APIs and can be used from
C programs.
SylFilter can be used as a command-line tool inside a junk filter mail program
similar to major tools such as bogofilter and bsfilter etc.
For further details, see http://sylpheed.sraoss.jp/sylfilter/
%description devel
Development files for sylfilter
%prep
%setup -q
%build
%configure --disable-rpath --with-libsylph=sylpheed --with-libsylph-dir=/usr
--disable-static
%{make_build}
%install
%{make_install}
rm %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets
%files
%doc README
%{_bindir}/sylfilter
%{_libdir}/libsylfilter.*
%{_libdir}/libsylfilter.so.*
%license COPYING
%files devel
%{_libdir}/libsylfilter.so
%{_includedir}/sylfilter
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure