Accepting request 84220 from Base:System
- Fix provides/Obsoletes - Implement shlib package (libacl1) - Enable libacl-devel on all baselib arches OBS-URL: https://build.opensuse.org/request/show/84220 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/acl?expand=0&rev=24
This commit is contained in:
commit
379cdd4573
11
acl.changes
11
acl.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 14:17:28 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Fix provides/Obsoletes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 16 18:37:51 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Implement shlib package (libacl1)
|
||||
- Enable libacl-devel on all baselib arches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 18:05:44 UTC 2011 - bphilips@novell.com
|
||||
|
||||
|
22
acl.spec
22
acl.spec
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
Name: acl
|
||||
%define lname libacl1
|
||||
BuildRequires: libattr-devel
|
||||
Group: System/Filesystems
|
||||
AutoReqProv: on
|
||||
@ -42,7 +43,7 @@ Authors:
|
||||
Andreas Gruenbacher <a.gruenbacher@computer.org>
|
||||
SGI
|
||||
|
||||
%package -n libacl
|
||||
%package -n %lname
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Summary: A dynamic library for accessing POSIX Access Control Lists
|
||||
Group: System/Libraries
|
||||
@ -51,8 +52,10 @@ Group: System/Libraries
|
||||
Obsoletes: libacl-64bit
|
||||
%endif
|
||||
#
|
||||
Provides: libacl = %version-%release
|
||||
Obsoletes: libacl < %version-%release
|
||||
|
||||
%description -n libacl
|
||||
%description -n %lname
|
||||
This package contains the libacl.so dynamic library which contains the
|
||||
POSIX 1003.1e draft standard 17 functions for manipulating access
|
||||
control lists.
|
||||
@ -67,11 +70,11 @@ License: GPLv2+ ; LGPLv2.1+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libacl = %{version} glibc-devel
|
||||
Requires: %lname = %version, glibc-devel
|
||||
# the .so file references libattr.so.x, so require libattr-devel
|
||||
Requires: libattr-devel
|
||||
Provides: acl-devel
|
||||
Obsoletes: acl-devel
|
||||
Provides: acl-devel = %{version}
|
||||
Obsoletes: acl-devel < %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libacl-devel-64bit
|
||||
@ -121,12 +124,9 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
|
||||
%{__rm} -v %{buildroot}/%{_lib}/lib%{name}.{la,so}
|
||||
%find_lang %name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%post -n libacl -p /sbin/ldconfig
|
||||
|
||||
%postun -n libacl -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -f %name.lang
|
||||
%defattr(-,root,root)
|
||||
@ -190,7 +190,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %attr(644,root,root) %{_mandir}/man3/acl_valid.3.gz
|
||||
%doc %attr(644,root,root) %{_mandir}/man3/acl_extended_file_nofollow.3.gz
|
||||
|
||||
%files -n libacl
|
||||
%files -n %lname
|
||||
%defattr(755,root,root,755)
|
||||
/%{_lib}/libacl.so.1*
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
libacl
|
||||
arch ppc package libacl-devel
|
||||
arch sparcv9 package libacl-devel
|
||||
# added in 2.2.51; change to just "<" with 2.2.52 or up.
|
||||
libacl1
|
||||
obsoletes "libacl-<targettype> <= <version>"
|
||||
provides "libacl-<targettype> = <version>"
|
||||
libacl-devel
|
||||
requires -libacl-<targettype>
|
||||
requires "libacl1-<targettype> = <version>"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user