Update to 0.16.2

Remove ldconfig scriptlets
Minor spec cleanup

See https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
epel9
Guido Aulisi 7 years ago
parent 03d39e95bf
commit 2b99a430a5

1
.gitignore vendored

@ -4,3 +4,4 @@
/sord-0.12.0.tar.bz2
/sord-0.12.2.tar.bz2
/sord-0.16.0.tar.bz2
/sord-0.16.2.tar.bz2

@ -2,8 +2,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sord
Version: 0.16.0
Release: 6%{?dist}
Version: 0.16.2
Release: 1%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library
Group: System Environment/Libraries
@ -16,8 +16,8 @@ BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python2
BuildRequires: python2-rpm-macros
BuildRequires: serd-devel >= 0.22.4
BuildRequires: python2-devel
BuildRequires: serd-devel >= 0.29.4
BuildRequires: gcc
BuildRequires: gcc-c++
@ -46,8 +46,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
%build
export CXXFLAGS="%{optflags}"
export CFLAGS="%{optflags}"
%set_build_flags
export LINKFLAGS="%{__global_ldflags}"
%{__python2} waf configure \
--prefix=%{_prefix} \
@ -64,10 +63,6 @@ DESTDIR=%{buildroot} %{__python2} waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_pkgdocdir}
%exclude %{_pkgdocdir}/%{name}-%{maj}/
@ -86,6 +81,11 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3*
%changelog
* Mon Jul 30 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.2-1
- Update to 0.16.2
- Remove ldconfig scriptlets
- Minor spec cleanup
* Sun Jul 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.0-6
- Fix FTBFS due to the move of /usr/bin/python into a separate package

@ -1 +1 @@
SHA512 (sord-0.16.0.tar.bz2) = e18c6de62f2cbffedd4c200f6452f4fd37f719aed764ccc1b77c8da04a0f3394d47e8b57e19eefd6d600770926f505fdfa5da91564bbff5f4ead49f1adaba249
SHA512 (sord-0.16.2.tar.bz2) = fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698

Loading…
Cancel
Save