Use %license macro to handle license files.
This commit is contained in:
parent
fb1925c25e
commit
bbd183eb89
@ -45,10 +45,10 @@ find . -name '*.ggo' -exec chmod 644 {} ';'
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL="%{__install} -p" DESTDIR=%{buildroot}
|
%make_install INSTALL="%{__install} -p"
|
||||||
rm -rfv %{buildroot}%{_infodir}/dir
|
rm -frv %{buildroot}%{_infodir}/dir
|
||||||
# Use %%doc macro to install instead.
|
# Use %%doc macro to install instead.
|
||||||
rm -rfv %{buildroot}%{_docdir}/%{name}
|
rm -frv %{buildroot}%{_docdir}/%{name}
|
||||||
|
|
||||||
mkdir ./examples
|
mkdir ./examples
|
||||||
pushd ./doc
|
pushd ./doc
|
||||||
@ -69,13 +69,14 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README THANKS TODO
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||||
%doc doc/index.html doc/%{name}.html
|
%doc doc/index.html doc/%{name}.html
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%{_infodir}/%{name}.info*
|
%license COPYING LICENSE
|
||||||
%{_mandir}/man1/%{name}.1*
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
%{_infodir}/%{name}.info*
|
||||||
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.6-3
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.6-3
|
||||||
|
Loading…
Reference in New Issue
Block a user