fix pdf and multilib by using pre-built source file
This commit is contained in:
parent
7134e09471
commit
e95f18005f
BIN
libconfig.pdf
Normal file
BIN
libconfig.pdf
Normal file
Binary file not shown.
@ -1,10 +1,12 @@
|
||||
Name: libconfig
|
||||
Summary: C/C++ configuration file library
|
||||
Version: 1.5
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||
# Generated from libconfig 1.5 on Fedora 23 x86_64 (2015-12-17)
|
||||
Source1: libconfig.pdf
|
||||
URL: http://www.hyperrealm.com/libconfig/
|
||||
BuildRequires: texinfo-tex, tex(ecbx1095.tfm), tex(ecrm1095.tfm), tex(cm-super-t1.enc)
|
||||
BuildRequires: bison, flex
|
||||
@ -41,10 +43,9 @@ make pdf
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
# Prevent multilib conflicts
|
||||
sed -i '/^\/CreationDate/d' doc/libconfig.pdf
|
||||
sed -i '/^\/ModDate/d' doc/libconfig.pdf
|
||||
sed -i '/^\/ID /d' doc/libconfig.pdf
|
||||
# Need to use a pre-built copy to support multilib
|
||||
rm -rf doc/libconfig.pdf
|
||||
install -p %{SOURCE1} doc/
|
||||
|
||||
%check
|
||||
./tests/libconfig_tests
|
||||
@ -73,6 +74,9 @@ fi
|
||||
%{_infodir}/libconfig.info*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 17 2015 Tom Callaway <spot@fedoraproject.org> - 1.5-3
|
||||
- fix pdf file by having a pre-generated pdf as source1 (bz 1292449)
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user