Don't package lenses in tests/ subdirectory.

This commit is contained in:
Richard W.M. Jones 2013-06-05 13:28:47 +01:00
parent f079078510
commit 0e7f21c358
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: augeas
Version: 1.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library for changing configuration files
Group: System Environment/Libraries
@ -58,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# The tests/ subdirectory contains lenses used only for testing, and
# so it shouldn't be packaged.
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
%clean
rm -rf $RPM_BUILD_ROOT
@ -90,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/augeas.pc
%changelog
* Wed Jun 5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
- Don't package lenses in tests/ subdirectory.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild