- modernize spec-file (move license to licensedir)

OBS-URL: https://build.opensuse.org/package/show/Base:System/acl?expand=0&rev=68
This commit is contained in:
Dirk Mueller 2021-05-16 09:19:26 +00:00 committed by Git OBS Bridge
parent 5863ad81b6
commit d43fcbe412
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 16 09:19:13 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec-file (move license to licensedir)
-------------------------------------------------------------------
Wed May 12 17:03:36 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -113,6 +113,7 @@ make %{?_smp_mflags} V=1
%install
%make_install
rm -v %buildroot/%_libdir/lib%name.la
rm -rvf %buildroot/%_defaultdocdir/%name
%find_lang %name
%post -n %lname -p /sbin/ldconfig
@ -120,10 +121,11 @@ rm -v %buildroot/%_libdir/lib%name.la
%postun -n %lname -p /sbin/ldconfig
%files -f %name.lang
%license doc/COPYING
%doc doc/PORTING doc/extensions.txt doc/libacl.txt doc/CHANGES
%_bindir/chacl
%_bindir/getfacl
%_bindir/setfacl
%_defaultdocdir/acl/
%_mandir/man1/*.1*
%_mandir/man5/*.5*
@ -135,6 +137,7 @@ rm -v %buildroot/%_libdir/lib%name.la
%_libdir/pkgconfig/libacl.pc
%files -n %lname
%license doc/COPYING.LGPL
%_libdir/libacl.so.1*
%changelog