handle everything with doc
This commit is contained in:
parent
7b42c1c8a9
commit
e6c229958e
@ -1,7 +1,7 @@
|
|||||||
Name: libconfig
|
Name: libconfig
|
||||||
Summary: C/C++ configuration file library
|
Summary: C/C++ configuration file library
|
||||||
Version: 1.4.9
|
Version: 1.4.9
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||||
@ -38,13 +38,13 @@ make %{?_smp_mflags}
|
|||||||
make pdf
|
make pdf
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install install-pdf
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
# Prevent multilib conflicts
|
# Prevent multilib conflicts
|
||||||
sed -i '/^\/CreationDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
sed -i '/^\/CreationDate/d' doc/libconfig.pdf
|
||||||
sed -i '/^\/ModDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
sed -i '/^\/ModDate/d' doc/libconfig.pdf
|
||||||
sed -i '/^\/ID /d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
sed -i '/^\/ID /d' doc/libconfig.pdf
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./tests/libconfig_tests
|
./tests/libconfig_tests
|
||||||
@ -62,20 +62,20 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING.LIB README
|
%doc AUTHORS ChangeLog COPYING.LIB README
|
||||||
%{_libdir}/libconfig*.so.*
|
%{_libdir}/libconfig*.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%doc doc/libconfig.pdf
|
||||||
%{_includedir}/libconfig*
|
%{_includedir}/libconfig*
|
||||||
%{_libdir}/libconfig*.so
|
%{_libdir}/libconfig*.so
|
||||||
%{_libdir}/pkgconfig/libconfig*.pc
|
%{_libdir}/pkgconfig/libconfig*.pc
|
||||||
%{_defaultdocdir}/%{name}/
|
|
||||||
%{_infodir}/libconfig.info*
|
%{_infodir}/libconfig.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 4 2013 Tom Callaway <spot@fedoraproject.org> - 1.4.9-5
|
||||||
|
- handle everything with doc
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-4
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user