Minor spec file cleanup
Remove defattr and buildroot cleaning; both of which rpmbuild handles automatically these days.
This commit is contained in:
parent
c7105585e5
commit
92d240df24
11
wayland.spec
11
wayland.spec
@ -93,7 +93,6 @@ make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
||||
@ -108,8 +107,6 @@ mkdir -m 700 tests/run
|
||||
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
|
||||
{ rc=$?; cat tests/test-suite.log; } # exit $rc; }
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n libwayland-client -p /sbin/ldconfig
|
||||
%postun -n libwayland-client -p /sbin/ldconfig
|
||||
@ -122,12 +119,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README TODO
|
||||
#doc %{_datadir}/doc/wayland/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/wayland-scanner
|
||||
%{_includedir}/wayland-util.h
|
||||
%{_includedir}/wayland-egl.h
|
||||
@ -142,31 +137,25 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%files -n libwayland-client
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libwayland-client.so.0*
|
||||
|
||||
%files -n libwayland-cursor
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libwayland-cursor.so.0*
|
||||
|
||||
%files -n libwayland-server
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libwayland-server.so.0*
|
||||
|
||||
%files -n libwayland-client-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/wayland-client*.h
|
||||
%{_libdir}/libwayland-client.so
|
||||
%{_libdir}/pkgconfig/wayland-client.pc
|
||||
|
||||
%files -n libwayland-cursor-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/wayland-cursor*.h
|
||||
%{_libdir}/libwayland-cursor.so
|
||||
%{_libdir}/pkgconfig/wayland-cursor.pc
|
||||
|
||||
%files -n libwayland-server-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/wayland-server*.h
|
||||
%{_libdir}/libwayland-server.so
|
||||
%{_libdir}/pkgconfig/wayland-server.pc
|
||||
|
Loading…
Reference in New Issue
Block a user