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>
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -49,7 +49,6 @@ BuildRequires: system-user-bin
|
|||||||
BuildRequires: system-user-daemon
|
BuildRequires: system-user-daemon
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
getfacl and setfacl commands for retrieving and setting POSIX access
|
getfacl and setfacl commands for retrieving and setting POSIX access
|
||||||
@ -57,9 +56,9 @@ control lists.
|
|||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: A dynamic library for accessing POSIX Access Control Lists
|
Summary: A dynamic library for accessing POSIX Access Control Lists
|
||||||
# bug437293
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
|
# bug437293
|
||||||
Obsoletes: libacl-64bit
|
Obsoletes: libacl-64bit
|
||||||
%endif
|
%endif
|
||||||
# Added for 12.1
|
# Added for 12.1
|
||||||
@ -72,22 +71,20 @@ POSIX 1003.1e draft standard 17 functions for manipulating access
|
|||||||
control lists.
|
control lists.
|
||||||
|
|
||||||
%package -n libacl-devel
|
%package -n libacl-devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Header files for the POSIX ACL library
|
||||||
# the .so file references libattr.so.x, so require libattr-devel
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Provides: acl-devel = %version
|
Provides: acl-devel = %version
|
||||||
Obsoletes: acl-devel < %version
|
Obsoletes: acl-devel < %version
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
|
# bug437293
|
||||||
Obsoletes: libacl-devel-64bit
|
Obsoletes: libacl-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
|
|
||||||
%description -n libacl-devel
|
%description -n libacl-devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
to develop applications that require these.
|
to develop applications that require libacl.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n acl-%version
|
%setup -q -n acl-%version
|
||||||
@ -104,10 +101,6 @@ export CFLAGS="%optflags -D_FILE_OFFSET_BITS=64"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--libdir=/%_lib \
|
|
||||||
--libexecdir=/%_lib \
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--docdir=%_defaultdocdir/%name
|
--docdir=%_defaultdocdir/%name
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
@ -124,11 +117,7 @@ make %{?_smp_mflags} V=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p %buildroot/%_libdir
|
rm -v %buildroot/%_libdir/lib%name.la
|
||||||
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
|
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
@ -136,7 +125,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
|||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %name.lang
|
%files -f %name.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
%_bindir/chacl
|
%_bindir/chacl
|
||||||
%_bindir/getfacl
|
%_bindir/getfacl
|
||||||
%_bindir/setfacl
|
%_bindir/setfacl
|
||||||
@ -145,7 +133,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
|||||||
%_mandir/man5/*.5*
|
%_mandir/man5/*.5*
|
||||||
|
|
||||||
%files -n libacl-devel
|
%files -n libacl-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/acl/
|
%_includedir/acl/
|
||||||
%_includedir/sys/acl.h
|
%_includedir/sys/acl.h
|
||||||
%_libdir/libacl.so
|
%_libdir/libacl.so
|
||||||
@ -153,7 +140,6 @@ mv -f %buildroot/%_lib/pkgconfig/ %buildroot/%_libdir
|
|||||||
%_libdir/pkgconfig/libacl.pc
|
%_libdir/pkgconfig/libacl.pc
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(755,root,root,755)
|
%_libdir/libacl.so.1*
|
||||||
/%_lib/libacl.so.1*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user