Accepting request 685774 from home:jengelh:sct
- Update boilerplate descriptions for libacl-devel. - Remove out-of-date comments for libattr. - Remove old BuildRoot and %defattr tags. - Move library into the standard library directory. OBS-URL: https://build.opensuse.org/request/show/685774 OBS-URL: https://build.opensuse.org/package/show/Base:System/acl?expand=0&rev=61
This commit is contained in:
parent
5e7d6154e1
commit
8939f11583
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 11:02:49 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update boilerplate descriptions for libacl-devel.
|
||||
- Remove out-of-date comments for libattr.
|
||||
- Remove old BuildRoot and %defattr tags.
|
||||
- Move library into the standard library directory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 18:41:33 UTC 2018 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||
|
||||
|
28
acl.spec
28
acl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package acl
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -49,7 +49,6 @@ BuildRequires: system-user-bin
|
||||
BuildRequires: system-user-daemon
|
||||
%endif
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
getfacl and setfacl commands for retrieving and setting POSIX access
|
||||
@ -57,9 +56,9 @@ control lists.
|
||||
|
||||
%package -n %lname
|
||||
Summary: A dynamic library for accessing POSIX Access Control Lists
|
||||
# bug437293
|
||||
Group: System/Libraries
|
||||
%ifarch ppc64
|
||||
# bug437293
|
||||
Obsoletes: libacl-64bit
|
||||
%endif
|
||||
# Added for 12.1
|
||||
@ -72,22 +71,20 @@ POSIX 1003.1e draft standard 17 functions for manipulating access
|
||||
control lists.
|
||||
|
||||
%package -n libacl-devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
# the .so file references libattr.so.x, so require libattr-devel
|
||||
Summary: Header files for the POSIX ACL library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: glibc-devel
|
||||
Provides: acl-devel = %version
|
||||
Obsoletes: acl-devel < %version
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
# bug437293
|
||||
Obsoletes: libacl-devel-64bit
|
||||
%endif
|
||||
#
|
||||
|
||||
%description -n libacl-devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
to develop applications that require libacl.
|
||||
|
||||
%prep
|
||||
%setup -q -n acl-%version
|
||||
@ -104,10 +101,6 @@ export CFLAGS="%optflags -D_FILE_OFFSET_BITS=64"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--libdir=/%_lib \
|
||||
--libexecdir=/%_lib \
|
||||
--disable-static \
|
||||
--docdir=%_defaultdocdir/%name
|
||||
make %{?_smp_mflags} V=1
|
||||
@ -124,11 +117,7 @@ make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %buildroot/%_libdir
|
||||
ln -sv /%_lib/$(readlink %buildroot/%_lib/lib%name.so) %buildroot/%_libdir/lib%name.so
|
||||
rm -v %buildroot/%_lib/lib%name.{la,so}
|
||||
# The library stays in /lib* but the pkgconfig file needs to go under /usr
|
||||
mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
||||
rm -v %buildroot/%_libdir/lib%name.la
|
||||
%find_lang %name
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
@ -136,7 +125,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -f %name.lang
|
||||
%defattr(-,root,root)
|
||||
%_bindir/chacl
|
||||
%_bindir/getfacl
|
||||
%_bindir/setfacl
|
||||
@ -145,7 +133,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
||||
%_mandir/man5/*.5*
|
||||
|
||||
%files -n libacl-devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/acl/
|
||||
%_includedir/sys/acl.h
|
||||
%_libdir/libacl.so
|
||||
@ -153,7 +140,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
||||
%_libdir/pkgconfig/libacl.pc
|
||||
|
||||
%files -n %lname
|
||||
%defattr(755,root,root,755)
|
||||
/%_lib/libacl.so.1*
|
||||
%_libdir/libacl.so.1*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user