Do not use macros to invoke executables
This commit is contained in:
parent
5b63d54fa8
commit
2f4e44d084
35
json-c.spec
35
json-c.spec
@ -67,21 +67,21 @@ This package contains the reference manual for %{name}.
|
|||||||
%autosetup -Tb 0 -n %{name}-%{name}-%{version}-%{reldate} -p 1
|
%autosetup -Tb 0 -n %{name}-%{name}-%{version}-%{reldate} -p 1
|
||||||
|
|
||||||
for doc in ChangeLog; do
|
for doc in ChangeLog; do
|
||||||
%{_bindir}/iconv -f iso-8859-1 -t utf8 ${doc} > ${doc}.new
|
iconv -f iso-8859-1 -t utf8 ${doc} > ${doc}.new
|
||||||
/bin/touch -r ${doc} ${doc}.new
|
touch -r ${doc} ${doc}.new
|
||||||
%{__mv} -f ${doc}.new ${doc}
|
mv -f ${doc}.new ${doc}
|
||||||
done
|
done
|
||||||
|
|
||||||
%{__sed} -i -e 's!#ACLOCAL_AMFLAGS!ACLOCAL_AMFLAGS!g' Makefile.am
|
sed -i -e 's!#ACLOCAL_AMFLAGS!ACLOCAL_AMFLAGS!g' Makefile.am
|
||||||
%{_bindir}/autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
%{__mkdir} -p bootstrap_ver
|
mkdir -p bootstrap_ver
|
||||||
pushd bootstrap_ver
|
pushd bootstrap_ver
|
||||||
%{__tar} --strip-components=1 -xf %{SOURCE1}
|
tar --strip-components=1 -xf %{SOURCE1}
|
||||||
|
|
||||||
%{__sed} -i -e 's!#ACLOCAL_AMFLAGS!ACLOCAL_AMFLAGS!g' Makefile.am
|
sed -i -e 's!#ACLOCAL_AMFLAGS!ACLOCAL_AMFLAGS!g' Makefile.am
|
||||||
%{_bindir}/autoreconf -fiv
|
autoreconf -fiv
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -115,19 +115,19 @@ popd
|
|||||||
%install
|
%install
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
%make_install -C bootstrap_ver
|
%make_install -C bootstrap_ver
|
||||||
%{_bindir}/find %{buildroot} -xtype f -not \
|
find %{buildroot} -xtype f -not -name 'lib%{name}.so.%{so_ver_old}*' \
|
||||||
-name 'lib%{name}.so.%{so_ver_old}*' -delete -print
|
-delete -print
|
||||||
%{_bindir}/find %{buildroot} -type l -not \
|
find %{buildroot} -type l -not -name 'lib%{name}.so.%{so_ver_old}*' \
|
||||||
-name 'lib%{name}.so.%{so_ver_old}*' -delete -print
|
-delete -print
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%{_bindir}/find %{buildroot} -name '*.a' -delete -print
|
find %{buildroot} -name '*.a' -delete -print
|
||||||
%{_bindir}/find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
|
|
||||||
%{__mkdir} -p %{buildroot}%{_pkgdocdir}
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
||||||
%{__cp} -pr doc/html ChangeLog README README.* %{buildroot}%{_pkgdocdir}
|
cp -pr doc/html ChangeLog README README.* %{buildroot}%{_pkgdocdir}
|
||||||
hardlink -cvf %{buildroot}%{_pkgdocdir}
|
hardlink -cvf %{buildroot}%{_pkgdocdir}
|
||||||
|
|
||||||
|
|
||||||
@ -179,6 +179,7 @@ end
|
|||||||
* Sat Apr 11 2020 Björn Esser <besser82@fedoraproject.org> - 0.13.1-10
|
* Sat Apr 11 2020 Björn Esser <besser82@fedoraproject.org> - 0.13.1-10
|
||||||
- Add explicit configure switch to disable rdrand
|
- Add explicit configure switch to disable rdrand
|
||||||
- Add explicit configure switch to enable linking with Bsymbolic
|
- Add explicit configure switch to enable linking with Bsymbolic
|
||||||
|
- Do not use macros to invoke executables
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-9
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user