[packman] [PM] xine-lib 1.1.19-2.pm.48.9 (openSUSE 11.3/x86_64)

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Mon Dec 13 11:03:09 CET 2010


Dear Manfred:

I have discovered you use install to install package docs.  Here is a more standard way to do it, so that rpm -qc gives correct results.

Just a suggestion,
Chris

*** /usr/src/packages/SPECS/xine-lib.spec       2010-12-10 23:25:37.000000000 +0100
--- /tmp/xine-lib.spec  2010-12-13 10:44:08.331092686 +0100
*************** sed -i 's|^noinst_HEADERS = input_vdr.h|
*** 661,666 ****
--- 661,667 ----
  %patch73 -p1
  %patch74 -p1
  rm -f m4/libtool15.m4
+ %{uncompress:%{SOURCE10}}  >README.SuSE
  
  %build
  export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fno-force-addr"
*************** echo=echo \
*** 721,728 ****
  %endif
  make install DESTDIR=%{buildroot}
  LIB="%{buildroot}%{_libdir}/xine/plugins/%{abiversion}"
- # install documentation
- install -m 0644 %{SOURCE10} COPYING AUTHORS %{buildroot}%{_defaultdocdir}/xine/
  %if !%{with distributable}
  touch ${RPM_BUILD_ROOT}%{_datadir}/xine/mad
  %endif
--- 722,727 ----
*************** rm -rf %{buildroot}
*** 932,937 ****
--- 931,940 ----
  %{_libdir}/libxine.so.*
  %doc %{_mandir}/man1/xine-list-*.gz
  %doc %{_mandir}/man5/xine.*
+ # install documentation
+ %doc README.SuSE
+ %doc COPYING 
+ %doc AUTHORS 
  %{_defaultdocdir}/xine
  %dir %{_libdir}/xine/plugins/%{abiversion}/post
  %{_libdir}/xine/plugins/%{abiversion}/vidix




More information about the Packman mailing list