Permalink
Browse files

Remove references to TODO file from build process

  • Loading branch information...
1 parent 38eaf89 commit a958c6d78b5bd8119686702316bde806c118aeab @dagwieers dagwieers committed Apr 5, 2012
@@ -95,9 +95,9 @@ SBIN_DIR=/usr/sbin
test -s .$SHARE_DIR/contrib/rear-$VERSION.ebuild ||\
mv -v .$SHARE_DIR/contrib/rear-*.ebuild .$SHARE_DIR/contrib/rear-$VERSION.ebuild
# copy doc files
-cp -rv .$SHARE_DIR/{COPYING,README,AUTHORS,TODO,doc,contrib} .
+cp -rv .$SHARE_DIR/{COPYING,README,AUTHORS,doc,contrib} .
# convert files to UTF-8 if possible
-for file in COPYING README AUTHORS TODO `echo doc/*` ; do
+for file in COPYING README AUTHORS `echo doc/*` ; do
mv "${file}" timestamp
iconv -f ISO-8859-1 -t UTF-8 -o "${file}" timestamp
touch -r timestamp "${file}"
@@ -34,8 +34,8 @@ WORKFLOW_mkdist_postprocess () {
# reverted back to symlinking because we put more MegaByte into doc and should not package it twice
ln -s $v .$SHARE_DIR/{doc,contrib} . >&2
# to prevent RPMs from installing symlinks into the doc area we actually copy the text files
- cp -r $v .$SHARE_DIR/{COPYING,README,AUTHORS,TODO} . >&2
- StopIfError "Could not copy .$SHARE_DIR/{COPYING,README,AUTHORS,TODO,doc,contrib}"
+ cp -r $v .$SHARE_DIR/{COPYING,README,AUTHORS} . >&2
+ StopIfError "Could not copy .$SHARE_DIR/{COPYING,README,AUTHORS,doc,contrib}"
# I want the generic SPEC file to be always shipped 2009-11-16 Schlomo
sed -i -e "s/Version:.*/Version: $VERSION/" .$SHARE_DIR/lib/rear.spec
@@ -130,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc COPYING README AUTHORS TODO
+%doc AUTHORS COPYING README
%doc doc/*.txt
%{_sbindir}/rear
%{_datadir}/rear
@@ -65,13 +65,12 @@ sed -e 's#/etc#%{_sysconfdir}#' \
rm -f $RPM_BUILD_ROOT%{_datadir}/rear/README
rm -f $RPM_BUILD_ROOT%{_datadir}/rear/COPYING
rm -f $RPM_BUILD_ROOT%{_datadir}/rear/AUTHORS
-rm -f $RPM_BUILD_ROOT%{_datadir}/rear/TODO
rm -rf $RPM_BUILD_ROOT%{_datadir}/rear/doc/*
%files
%defattr(-,root,root,-)
-%doc COPYING README AUTHORS TODO
+%doc AUTHORS COPYING README
%doc doc/*.txt
%{_sbindir}/rear
%{_datadir}/rear
@@ -89,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc COPYING README AUTHORS TODO
+%doc AUTHORS COPYING README
%doc doc/*.txt
%{_sbindir}/rear
%{_datadir}/rear

0 comments on commit a958c6d

Please sign in to comment.