Mark installed documentation as %doc (#1308255)
This commit is contained in:
parent
15a181171e
commit
6348ce016b
@ -1,6 +1,8 @@
|
|||||||
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
Name: xmlstarlet
|
Name: xmlstarlet
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Command Line XML Toolkit
|
Summary: Command Line XML Toolkit
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -30,7 +32,7 @@ commands.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} # --libdir=%{_libdir}
|
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -52,11 +54,15 @@ rm -fr %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
||||||
|
%doc %{_pkgdocdir}/*
|
||||||
%{_mandir}/man1/xmlstarlet.1*
|
%{_mandir}/man1/xmlstarlet.1*
|
||||||
%{_bindir}/xmlstarlet
|
%{_bindir}/xmlstarlet
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6.1-6
|
||||||
|
- Mark installed documentation as %%doc (#1308255)
|
||||||
|
|
||||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user