From 93eb047314ee8a36bead5a750bcc036a49705bcc Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 21 Apr 2013 09:57:35 +0200 Subject: [PATCH] define API version --- libvisio.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libvisio.spec b/libvisio.spec index 6714ef1..45d8433 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -1,3 +1,5 @@ +%global apiversion 0.0 + Name: libvisio Version: 0.0.25 Release: 1%{?dist} @@ -76,13 +78,13 @@ rm -f %{buildroot}/%{_libdir}/*.la %files %doc AUTHORS ChangeLog COPYING.* -%{_libdir}/%{name}-0.0.so.* +%{_libdir}/%{name}-%{apiversion}.so.* %files devel -%{_includedir}/%{name}-0.0 -%{_libdir}/%{name}-0.0.so -%{_libdir}/pkgconfig/%{name}-0.0.pc +%{_includedir}/%{name}-%{apiversion} +%{_libdir}/%{name}-%{apiversion}.so +%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc %files doc