https://bugzilla.redhat.com/show_bug.cgi?id=1302809



--- Comment #9 from Antonio Trande <anto.tra...@gmail.com> ---
- You don't use macros yet:

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/ne/syntax
mkdir -p $RPM_BUILD_ROOT/usr/share/ne/macros
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/ne-%{version}/html

becomes

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ne/syntax
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ne/macros
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/ne-%{version}/html

- 
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/ne-%{version}/html
mv doc/html .

you can do that with a simple

%doc doc/html

-
/usr/share/ne/syntax/*.jsf
/usr/share/ne/macros/*

becomes

%{_datadir}/ne/

to include all directories/files under /usr/share/ne

- %doc ./COPYING

Use %license for this file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to