Update location of rpm macro file for rpm >= 4.11.

This commit is contained in:
Jerry James 2014-02-03 09:59:50 -07:00
parent 34a84f179b
commit 0a62d787db
1 changed files with 7 additions and 4 deletions

View File

@ -8,7 +8,7 @@
Name: ffcall
Version: 1.10
Release: 13.20120424cvs%{?dist}
Release: 14.20120424cvs%{?dist}
Summary: Libraries for foreign function call interfaces
Group: System Environment/Libraries
@ -64,8 +64,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cd $RPM_BUILD_ROOT%{_mandir}/man3
# Advertise supported architectures
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.ffcall << EOF
mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
cat > $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.%{name} << EOF
# arches that ffcall supports
%%ffcall_arches %{ffcall_arches}
EOF
@ -85,10 +85,13 @@ done
%{_libdir}/*.a
%{_includedir}/*
%{_mandir}/man*/*
%{_sysconfdir}/rpm/macros.%{name}
%{_rpmconfigdir}/macros.d/macros.%{name}
%changelog
* Mon Feb 3 2014 Jerry James <loganjerry@gmail.com> - 1.10-14.20120424cvs
- Update location of rpm macro file for rpm >= 4.11
* Fri Sep 6 2013 Jerry James <loganjerry@gmail.com> - 1.10-13.20120424cvs
- Update -arm patch to really use the EABI and hopefully fix clisp