[Bug 2531] Review request: moc - Music on Console - Console audio player for Linux/UNIX

RPM Fusion Bugzilla noreply at rpmfusion.org
Fri Oct 19 15:15:53 CEST 2012


https://bugzilla.rpmfusion.org/show_bug.cgi?id=2531

--- Comment #6 from Elder Marco <eldermarco at gmail.com> 2012-10-19 15:15:53 CEST ---
No, you must add documentation files using the %doc section. In other words, 
remove the directory $RPM_BUILD_ROOT%{_datadir}/doc/%{name}:

...
%install
%make_install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
...


and add the files in the %doc section:

...
%files
%doc README README_equalizer AUTHORS ChangeLog COPYING config.example
keymap.example
%_bindir/*
%_datadir/%{name}/themes/*
%_datadir/doc/%{name}/*.example  << remove this line
%_datadir/doc/%{name}/README*    << remove this line
%_datadir/doc/%{name}/THANKS     << remove this line
%_mandir/*/*
%_libdir/moc/decoder_plugins
...

You don't need to create a subpackage.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the rpmfusion-developers mailing list