diff --git a/libvhdi.spec b/libvhdi.spec index 47a452d..62beeff 100644 --- a/libvhdi.spec +++ b/libvhdi.spec @@ -65,12 +65,12 @@ Supported image types: * Differential (or differencing) hard disk image * Note that an undo disk image (.vud) is also a differential image -%package -n %{lname} +%package -n %lname Summary: Library to access the VHD image format License: LGPL-3.0-or-later Group: System/Libraries -%description -n %{lname} +%description -n %lname Library to access the Virtual Hard Disk (VHD) image format. Read-supported formats: @@ -123,27 +123,27 @@ grep ' '' ''local' config.log && exit 1 %install mv %_builddir/rt/* %buildroot/ -find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +find %buildroot -type f -name "*.la" -delete -print +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n %{lname} +%files -n %lname %license COPYING* -%{_libdir}/libvhdi.so.* +%_libdir/libvhdi.so.* %files -n %name-tools %license COPYING* -%{_bindir}/vhdi* -%{_mandir}/man1/vhdi*.1* +%_bindir/vhdi* +%_mandir/man1/vhdi*.1* %files -n %name-devel %license COPYING* %doc Virtual_Hard_Disk_* -%{_includedir}/libvhdi.h -%{_includedir}/libvhdi/ -%{_libdir}/libvhdi.so -%{_libdir}/pkgconfig/libvhdi.pc -%{_mandir}/man3/libvhdi.3* +%_includedir/libvhdi.h +%_includedir/libvhdi/ +%_libdir/libvhdi.so +%_libdir/pkgconfig/libvhdi.pc +%_mandir/man3/libvhdi.3* %files %python_files %license COPYING*