Much stricter file globs, including so-version
This commit is contained in:
parent
962c608c5b
commit
edb3efc538
@ -1,3 +1,4 @@
|
||||
%global so_version 1
|
||||
%global apiver 1.0
|
||||
|
||||
# From configure.ac:
|
||||
@ -69,14 +70,16 @@ find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS README NEWS
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version}
|
||||
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version}.*
|
||||
|
||||
|
||||
%files devel
|
||||
%doc ChangeLog
|
||||
%{_includedir}/%{name}-%{apiver}
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/lib%{name}-%{apiver}.so
|
||||
%{_libdir}/pkgconfig/%{name}-%{apiver}.pc
|
||||
%{_libdir}/pkgconfig/%{name}-*-%{apiver}.pc
|
||||
%{_libdir}/%{name}-%{apiver}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user