propozition of specs cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IMO it will be good perform some spec files cleanups. Patch with this
cleanups is relative large and it touches many spec files (it will be
hard submiting this using bugzilla) but all can be changed using single
sed line:

[devel]$ sed -i '/^%doc$/d; /^%doc $/d; \
	s/^%doc %{_mandir}/%{_mandir}/; \
	s/\(^%{_mandir}\/.*\)\(\.gz$\)/\1\*/' \
	*/*spec

Above:
- removes empty %doc lines,
- removes %doc from %{_mandir}/* %files entries (all %{_mandir} entries
  are marked by default as %doc),
- replace .gz suffix by * from %{_mandir}/* entries
  This allow choose on build stage generate binary packages with or
  without gzipped man pages.

kloczek

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux