diff --git a/libcmis.spec b/libcmis.spec index 214110f..1ffebd4 100644 --- a/libcmis.spec +++ b/libcmis.spec @@ -1,3 +1,5 @@ +%global apiversion 0.3 + Name: libcmis Version: 0.3.1 Release: 4%{?dist} @@ -63,19 +65,17 @@ rm -f %{buildroot}/%{_libdir}/*.la %files %doc AUTHORS COPYING.* README -%{_libdir}/%{name}-0.3.so.3 -%{_libdir}/%{name}-0.3.so.3.* -%{_libdir}/%{name}-c-0.3.so.3 -%{_libdir}/%{name}-c-0.3.so.3.* +%{_libdir}/%{name}-%{apiversion}.so.* +%{_libdir}/%{name}-c-%{apiversion}.so.* %files devel -%{_includedir}/%{name}-0.3 -%{_includedir}/%{name}-c-0.3 -%{_libdir}/%{name}-0.3.so -%{_libdir}/%{name}-c-0.3.so -%{_libdir}/pkgconfig/%{name}-0.3.pc -%{_libdir}/pkgconfig/%{name}-c-0.3.pc +%{_includedir}/%{name}-%{apiversion} +%{_includedir}/%{name}-c-%{apiversion} +%{_libdir}/%{name}-%{apiversion}.so +%{_libdir}/%{name}-c-%{apiversion}.so +%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc +%{_libdir}/pkgconfig/%{name}-c-%{apiversion}.pc %files tools