do not include static libraries in RPMs
This commit is contained in:
parent
fe59e89170
commit
252aefcf5e
@ -1,6 +1,6 @@
|
||||
Name: libyaml
|
||||
Version: 0.1.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: YAML 1.1 parser and emitter written in C
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -38,7 +38,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} INSTALL="install -p" install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
rm -f %{buildroot}%{_libdir}/*.{la,a}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -60,11 +60,13 @@ rm -rf %{buildroot}
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html
|
||||
%{_libdir}/%{name}*.so
|
||||
%{_libdir}/*a
|
||||
%{_includedir}/yaml.h
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
|
||||
- Remove static libraries
|
||||
|
||||
* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
|
||||
- Remove README and LICENSE from docs on -devel package
|
||||
- Remove -static package and merge contents into the -devel package
|
||||
|
||||
Loading…
Reference in New Issue
Block a user