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
|
%global apiver 1.0
|
||||||
|
|
||||||
# From configure.ac:
|
# From configure.ac:
|
||||||
@ -69,14 +70,16 @@ find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
|||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README NEWS
|
%doc AUTHORS README NEWS
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version}
|
||||||
|
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version}.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
%{_includedir}/%{name}-%{apiver}
|
%{_includedir}/%{name}-%{apiver}
|
||||||
%{_libdir}/*.so
|
%{_libdir}/lib%{name}-%{apiver}.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/%{name}-%{apiver}.pc
|
||||||
|
%{_libdir}/pkgconfig/%{name}-*-%{apiver}.pc
|
||||||
%{_libdir}/%{name}-%{apiver}
|
%{_libdir}/%{name}-%{apiver}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user