From e521a54b32a566df8c01823a10fdce1dea50cf973fd3aeb1fcebc4731f655e9a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 22 Aug 2012 14:36:44 +0000 Subject: [PATCH] Accepting request 131178 from home:yecril71pl:branches:Base:System add documentation (bnc#776532) OBS-URL: https://build.opensuse.org/request/show/131178 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=49 --- file.changes | 5 +++++ file.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/file.changes b/file.changes index 597e966..e4ed8de 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 19 19:22:01 UTC 2012 - giecrilj@stegny.2a.pl + +- add documentation (bnc#776532) + ------------------------------------------------------------------- Tue Aug 14 04:06:35 UTC 2012 - crrodriguez@opensuse.org diff --git a/file.spec b/file.spec index 9acd4b9..575712b 100644 --- a/file.spec +++ b/file.spec @@ -132,7 +132,7 @@ make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)' rm -vf %{buildroot}%{_sysconfdir}/magic echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysconfdir}/magic -#install -s dcore %{buildroot}%{_bindir} +%{nil install -s dcore %{buildroot}%{_bindir}} # Check out that the binary does not bail out: LD_LIBRARY_PATH=%{buildroot}%{_libdir} export LD_LIBRARY_PATH @@ -148,18 +148,20 @@ unset LD_LIBRARY_PATH %files %defattr (644,root,root,755) %config(noreplace) %{_sysconfdir}/magic -#%{_bindir}/dcore +%{nil %{_bindir}/dcore} %attr(755,root,root) %{_bindir}/file %{_libdir}/lib*.so.* %{_miscdir}/magic %{_miscdir}/magic.mgc -%attr(644,root,root) %{_mandir}/man1/file.1.gz -%attr(644,root,root) %{_mandir}/man5/magic.5.gz +%doc %{_mandir}/man1/file.1.gz +%doc %{_mandir}/man5/magic.5.gz +%doc README COPYING AUTHORS NEWS ChangeLog %files -n file-devel %defattr (644,root,root,755) %{_libdir}/lib*.so %{_includedir}/magic.h -%attr(644,root,root) %{_mandir}/man3/libmagic.3.gz +%doc %{_mandir}/man3/libmagic.3.gz +%doc README COPYING AUTHORS NEWS ChangeLog %changelog