Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke
dietlibc
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package dietlibc
--- dietlibc.changes.orig +++ dietlibc.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sun Apr 7 11:11:55 UTC 2024 - Martin Hauke <mardnh@gmx.de> + +- Update to version 0.34 +- Add rpmlintrc file +- Disable the old patches +- Disable LTO + +------------------------------------------------------------------- Fri Aug 28 14:58:43 UTC 2015 - eric.fintzel@linux.vnet.ibm.com - Disable ppc64le architecture. --- dietlibc.spec.orig +++ dietlibc.spec @@ -1,7 +1,7 @@ # # spec file for package dietlibc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,39 +12,36 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -ExcludeArch: %arm ppc64le - Name: dietlibc -Provides: diet -Version: 0.31 +Version: 0.34 Release: 0 -Source0: http://www.fefe.de/dietlibc/%{name}-%{version}.tar.bz2 -Source1: http://www.fefe.de/dietlibc/%{name}-%{version}.tar.bz2.sig +Summary: A Libc Optimized for Small Size +License: GPL-2.0-or-later +Group: Development/Languages/C and C++ +#Source23: %{name}-0.30-setjmp-longjmpg.diff +#Patch0: %{name}-0.31-tls.diff +#Patch1: %{name}-0.30-tcsetattr.diff +#Patch6: long-double-workaround.diff +#Patch7: %{name}-0.30-features.diff +#Patch31: %{name}-0.30-ppc-syscall.diff +#Patch32: %{name}-0.30-pause.diff +#Patch33: parisc-clone.S-fix-build-failure-on-hppa.diff +#Patch34: fix-arm-regex-in-makefile.diff +#Patch35: dietlibc-ppc.patch +#BuildRequires: gpg-offline +URL: https://www.fefe.de/dietlibc/ +Source0: https://www.fefe.de/dietlibc/%{name}-%{version}.tar.xz +#Source1: https://www.fefe.de/dietlibc/%{name}-%{version}.tar.xz.sig # See README.maintainers to understand next four source files Source9: README.maintainers -Source10: dietlibc-0.32.tar.bz2 -Source11: dietlibc-0.32.tar.bz2.sig Source12: %{name}.keyring -Source23: %{name}-0.30-setjmp-longjmpg.diff -Patch: %{name}-0.31-tls.diff -Patch1: %{name}-0.30-tcsetattr.diff -Patch6: long-double-workaround.diff -Patch7: %{name}-0.30-features.diff -Patch31: %{name}-0.30-ppc-syscall.diff -Patch32: %{name}-0.30-pause.diff -Patch33: parisc-clone.S-fix-build-failure-on-hppa.diff -Patch34: fix-arm-regex-in-makefile.diff -Patch35: dietlibc-ppc.patch -BuildRequires: gpg-offline -Url: http://www.fefe.de/dietlibc/ -Summary: A Libc Optimized for Small Size -License: GPL-2.0+ -Group: Development/Languages/C and C++ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source99: %{name}-rpmlintrc +Provides: diet +ExcludeArch: %arm ppc64le %description Diet libc is optimized for small size. It can be used to create small @@ -53,26 +50,27 @@ statically-linked binaries for Linux on %define prefix /opt/dietlibc %prep -%gpg_verify %{S:11} +#%%gpg_verify %{S:11} %setup -q -%patch -%patch1 -%patch6 -%patch7 -%patch31 -%patch32 -%patch33 -p1 -%patch34 -%patch35 -p1 +#%%patch -P 0 +#%%patch -P 1 +#%%patch -P 6 +#%%patch -P 7 +#%%patch -P 31 +#%%patch -P 32 +#%%patch -P 33 -p1 +#%%patch -P 34 +#%%patch -P 35 -p1 %build -MY_RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's,-O2,-Os,' \ +%define _lto_cflags %{nil} +MY_RPM_OPT_FLAGS=$(echo %{optflags} | sed -e 's,-O2,-Os,' \ -e 's/-D_FORTIFY_SOURCE[=0-9]*//' \ -e 's/-ffortify[=0-9]*//' \ ) # Makefile relies on `uname -m` to determine bitness (bad), # so need extra args to rectify. -make %{?_smp_mflags} \ +%make_build \ %ifarch sparc sparcv9 MYARCH=sparc ARCH=sparc \ %endif @@ -92,19 +90,20 @@ mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{pr cd bin-$RPM_ARCH mv -f dietlibc.a libc.a mv -f diet-i diet -install -m644 start.o lib*.a $RPM_BUILD_ROOT/%{prefix}/lib-$RPM_ARCH -install -m755 diet elftrunc $RPM_BUILD_ROOT/%{prefix}/bin-$RPM_ARCH -install -m644 ../diet.1 $RPM_BUILD_ROOT/%{_mandir}/man1 -cp -a ../include $RPM_BUILD_ROOT/%{prefix} -ln -sfv lib-$RPM_ARCH $RPM_BUILD_ROOT/%{prefix}/lib -ln -sfv bin-$RPM_ARCH $RPM_BUILD_ROOT/%{prefix}/bin -ln -sfv %{prefix}/bin-$RPM_ARCH/{diet,elftrunc} $RPM_BUILD_ROOT%{_bindir} +install -m644 start.o lib*.a %{buildroot}/%{prefix}/lib-$RPM_ARCH +install -m755 diet elftrunc %{buildroot}/%{prefix}/bin-$RPM_ARCH +install -m644 ../diet.1 %{buildroot}/%{_mandir}/man1 +cp -a ../include %{buildroot}/%{prefix} +ln -sfv lib-$RPM_ARCH %{buildroot}/%{prefix}/lib +ln -sfv bin-$RPM_ARCH %{buildroot}/%{prefix}/bin +ln -sfv %{prefix}/bin-$RPM_ARCH/{diet,elftrunc} %{buildroot}%{_bindir} %files -%defattr(-, root, root) -%doc AUTHOR BUGS CAVEAT CHANGES COPYING FAQ PORTING README SECURITY TODO THANKS -%doc %{_mandir}/man?/* +%license COPYING +%doc AUTHOR BUGS CAVEAT CHANGES FAQ PORTING README SECURITY TODO THANKS +%{_bindir}/diet +%{_bindir}/elftrunc +%{_mandir}/man1/diet.1%{?ext_man} %{prefix} -%{_bindir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor