Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=959974

--- Comment #9 from Björn Esser <bjoern.es...@gmail.com> ---
> that's why I don't want to include such samples into %doc...I will not 
> include them now.

%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
+ install -m0755 -d %{buildroot}/%{_defaultdocdir}/%{name}-%{version}/examples
+ install -pm0644 samples/*.cc
%{buildroot}/%{_defaultdocdir}/%{name}-%{version}/examples

<snip>

%files devel
- %doc AUTHORS COPYING NEWS README samples/
+ %doc AUTHORS COPYING NEWS README
+ %doc %{buildroot}/%{_defaultdocdir}/%{name}-%{version}/examples
%{_includedir}/%{oname}/*
%{_libdir}/*.so

Should do the trick... ;)

> For the compile warnings, please ignore them currently. Maybe a patch later.
as i said --> not critical

I'll start another review, then.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=2gTwViY5y3&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to