[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
propozition of specs cleanups
- From: Tomasz Kłoczko <kloczek zie pg gda pl>
- To: fedora-devel-list redhat com
- Subject: propozition of specs cleanups
- Date: Fri, 03 Feb 2006 10:34:17 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]