define API version

f41
David Tardon 12 years ago
parent a747c29801
commit 93eb047314

@ -1,3 +1,5 @@
%global apiversion 0.0
Name: libvisio Name: libvisio
Version: 0.0.25 Version: 0.0.25
Release: 1%{?dist} Release: 1%{?dist}
@ -76,13 +78,13 @@ rm -f %{buildroot}/%{_libdir}/*.la
%files %files
%doc AUTHORS ChangeLog COPYING.* %doc AUTHORS ChangeLog COPYING.*
%{_libdir}/%{name}-0.0.so.* %{_libdir}/%{name}-%{apiversion}.so.*
%files devel %files devel
%{_includedir}/%{name}-0.0 %{_includedir}/%{name}-%{apiversion}
%{_libdir}/%{name}-0.0.so %{_libdir}/%{name}-%{apiversion}.so
%{_libdir}/pkgconfig/%{name}-0.0.pc %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
%files doc %files doc

Loading…
Cancel
Save