Accepting request 957248 from Base:System
- Reenable libseccomp sandboxing - Fix previous entry: remove stray pkg-config call in CFLAGS (as it was called without parameters, it only made output on stderr, which did not impact CFLAGS; so de facto only a cleanup change). - Drop pkgconfig(libseccomp) BuildRequires and stop injecting libseccomp cflags into CFLAGS: libseccomp has been disabled for a long time already. - Move the special 'check' part from install to %check. - Remove file-5.38-allow-readlinkat.dif as already done in latest file 5.41 OBS-URL: https://build.opensuse.org/request/show/957248 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=124
This commit is contained in:
commit
a17c02c31f
@ -1,3 +1,2 @@
|
|||||||
addFilter(".*W:.*no-dependency-on file.*/file-libs/libfile.*")
|
|
||||||
addFilter(".*W:.*name-repeated-in-summary.*")
|
addFilter(".*W:.*name-repeated-in-summary.*")
|
||||||
addFilter(".*:.*shlib-fixed-dependency.*")
|
addFilter(".*:.*shlib-fixed-dependency.*")
|
||||||
|
22
file.changes
22
file.changes
@ -1,7 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 24 10:05:17 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Reenable libseccomp sandboxing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 24 08:41:32 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Fix previous entry: remove stray pkg-config call in CFLAGS (as it
|
||||||
|
was called without parameters, it only made output on stderr,
|
||||||
|
which did not impact CFLAGS; so de facto only a cleanup change).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 21 17:09:56 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Drop pkgconfig(libseccomp) BuildRequires and stop injecting
|
||||||
|
libseccomp cflags into CFLAGS: libseccomp has been disabled for a
|
||||||
|
long time already.
|
||||||
|
- Move the special 'check' part from install to %check.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 21 06:24:35 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
Thu Oct 21 06:24:35 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
- Remove file-5.38-allow-readlinkat.dif as already doen in latest
|
- Remove file-5.38-allow-readlinkat.dif as already done in latest
|
||||||
file 5.41
|
file 5.41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package file
|
# spec file for package file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -22,10 +22,10 @@
|
|||||||
Name: file
|
Name: file
|
||||||
BuildRequires: bash >= 4.0
|
BuildRequires: bash >= 4.0
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: zlib-devel
|
|
||||||
BuildRequires: pkgconfig(bzip2)
|
BuildRequires: pkgconfig(bzip2)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
BuildRequires: pkgconfig(libseccomp)
|
BuildRequires: pkgconfig(libseccomp)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
URL: http://www.darwinsys.com/file/
|
URL: http://www.darwinsys.com/file/
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -139,7 +139,6 @@ autoreconf -fiv
|
|||||||
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
|
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
|
||||||
%configure --disable-silent-rules --datadir=%{_miscdir} \
|
%configure --disable-silent-rules --datadir=%{_miscdir} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-libseccomp \
|
|
||||||
--enable-fsect-man5
|
--enable-fsect-man5
|
||||||
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
|
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
|
||||||
|
|
||||||
@ -155,7 +154,9 @@ echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysc
|
|||||||
%if %{with decore}
|
%if %{with decore}
|
||||||
install -s dcore %{buildroot}%{_bindir}
|
install -s dcore %{buildroot}%{_bindir}
|
||||||
%endif
|
%endif
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
%check
|
||||||
# Check out that the binary does not bail out:
|
# Check out that the binary does not bail out:
|
||||||
LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||||
export LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH
|
||||||
@ -166,7 +167,6 @@ for dir in %{_bindir} /%{_lib} %{_libdir} ; do
|
|||||||
xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
|
xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
|
||||||
done
|
done
|
||||||
unset LD_LIBRARY_PATH
|
unset LD_LIBRARY_PATH
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
|
||||||
|
|
||||||
%post -n %libname -p /sbin/ldconfig
|
%post -n %libname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-magic
|
# spec file for package python-magic
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user