From a0c658c235a645b5c7d7b0f8b2b35992fc0f3db4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:27:31 +0000 Subject: [PATCH 1/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ustl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ustl.spec b/ustl.spec index 4bd6ac8..40b6603 100644 --- a/ustl.spec +++ b/ustl.spec @@ -1,6 +1,6 @@ Name: ustl Version: 2.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A size-optimized STL implementation License: MIT URL: http://msharov.github.io/ustl/ @@ -97,6 +97,9 @@ make check %{_libdir}/pkgconfig/ustl.pc %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 39d362baffed3ce170b40aad989896feaae7b95c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 22:49:33 +0000 Subject: [PATCH 2/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ustl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ustl.spec b/ustl.spec index 40b6603..552ca34 100644 --- a/ustl.spec +++ b/ustl.spec @@ -1,6 +1,6 @@ Name: ustl Version: 2.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A size-optimized STL implementation License: MIT URL: http://msharov.github.io/ustl/ @@ -97,6 +97,9 @@ make check %{_libdir}/pkgconfig/ustl.pc %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 2.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 2b7c1dfcb48dca2d6a89d08d1904af894f36e56a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:12:49 +0000 Subject: [PATCH 3/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ustl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ustl.spec b/ustl.spec index 552ca34..0ed83b5 100644 --- a/ustl.spec +++ b/ustl.spec @@ -1,6 +1,6 @@ Name: ustl Version: 2.8 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A size-optimized STL implementation License: MIT URL: http://msharov.github.io/ustl/ @@ -97,6 +97,9 @@ make check %{_libdir}/pkgconfig/ustl.pc %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 2.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From f0b90d75c2fec44fe466ba8e58560d77edebcf9f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:41:58 +0000 Subject: [PATCH 4/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ustl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ustl.spec b/ustl.spec index 0ed83b5..ac15206 100644 --- a/ustl.spec +++ b/ustl.spec @@ -1,6 +1,6 @@ Name: ustl Version: 2.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A size-optimized STL implementation License: MIT URL: http://msharov.github.io/ustl/ @@ -97,6 +97,9 @@ make check %{_libdir}/pkgconfig/ustl.pc %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 2.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 46fc4cf5834a4b74aa2baf6211cb5e6a511e8a04 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Fri, 11 Feb 2022 06:24:00 +0600 Subject: [PATCH 5/6] ustl: spec modernize and cleanup --- ustl.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/ustl.spec b/ustl.spec index ac15206..0e6470a 100644 --- a/ustl.spec +++ b/ustl.spec @@ -1,6 +1,6 @@ Name: ustl Version: 2.8 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A size-optimized STL implementation License: MIT URL: http://msharov.github.io/ustl/ @@ -50,9 +50,8 @@ developing applications that use %{name}. # No silent build. sed -i -e 's|\t@|\t|g' Makefile -# Don't strip the symbols, substituted with correct ldflags. -sed -i -e 's|/usr/lib|%{_libdir}|g' \ - -i -e 's|-s |%{?__global_ldflags} |g' \ +# Don't strip the symbols, use correct flags +sed -i -e '/ -s -Wl,-gc-sections/s/ -s//g' \ -e 's|CXXFLAGS :=|override CXXFLAGS +=|g' \ Config.mk.in @@ -75,12 +74,15 @@ sed -i -e 's|${prefix}/include|%{_includedir}|g' ustl.pc.in %make_build CXXFLAGS+="%{optflags}" %install -%make_install LIBDIR="%{buildroot}%{_libdir}" PKGCONFIGDIR="%{buildroot}%{_libdir}/pkgconfig" +%make_install \ + LIBDIR="%{buildroot}%{_libdir}" \ + INCDIR="%{buildroot}%{_includedir}" \ + PKGCONFIGDIR="%{buildroot}%{_libdir}/pkgconfig" chmod 755 -v %{buildroot}%{_libdir}/* %check -make check +make check CXXFLAGS+="%{optflags}" %ldconfig_scriptlets @@ -97,6 +99,9 @@ make check %{_libdir}/pkgconfig/ustl.pc %changelog +* Thu Feb 10 2022 Denis Fateyev - 2.8-9 +- Spec modernize and cleanup + * Sat Jan 22 2022 Fedora Release Engineering - 2.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c1ab463420e83597ab875f2929caadbc72554f06 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Sun, 27 Mar 2022 03:03:56 +0600 Subject: [PATCH 6/6] This library is obsolete. Please use the official gcc C++ standard library. --- .gitignore | 6 -- dead.package | 2 + sources | 1 - ustl.spec | 174 --------------------------------------------------- 4 files changed, 2 insertions(+), 181 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 ustl.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 237fb2a..0000000 --- a/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/ustl-2.1.tar.gz -/ustl-2.3.tar.gz -/ustl-2.4.tar.gz -/ustl-2.5.tar.gz -/ustl-2.7.tar.gz -/ustl-2.8.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..e691eda --- /dev/null +++ b/dead.package @@ -0,0 +1,2 @@ +The library "ustl" is obsolete, as announced by the author. +https://github.com/msharov/ustl diff --git a/sources b/sources deleted file mode 100644 index c099a15..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (ustl-2.8.tar.gz) = 323515163080d1888202d16c3bc34312c689ea212f6d33da6ee47664c6ea2e8fcb0e64bb52cbe5896875ecd68acc3575236301691e110ed226b57a5d601b6c25 diff --git a/ustl.spec b/ustl.spec deleted file mode 100644 index 0e6470a..0000000 --- a/ustl.spec +++ /dev/null @@ -1,174 +0,0 @@ -Name: ustl -Version: 2.8 -Release: 9%{?dist} -Summary: A size-optimized STL implementation -License: MIT -URL: http://msharov.github.io/ustl/ -Source0: https://github.com/msharov/ustl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz - -BuildRequires: coreutils -BuildRequires: gcc-c++ -BuildRequires: libstdc++-static -BuildRequires: pkgconfig -BuildRequires: make -BuildRequires: sed - -%description -The C++ standard template library (STL) is a collection of common containers -and algorithms in template form. Unfortunately its standard incarnation -shipped with gcc is implemented without much concern for code size. Not only -is the library itself large, the current version being over a megabyte in -size, but with all the code you instantiate by using a vector for each of -your containers, it is easy to become fearful and opt for using static -arrays instead or, worse yet, abandon C++ altogether for C. This is -especially painful to former DOS assembly programmers like myself, who fret -endlessly when the size of the executable crosses the magic 64k boundary, -forgetting that nobody cares about memory anymore. - -Of course, these days everyone has gigabytes of RAM and has no compunction -about loading up OpenOffice, whose source tree is over a gigabyte in size. -Why then bother with saving a kilobyte of code here and there? I can't really -say. Maybe it's that warm fuzzy knowledge that you are making maximum possible -use of your computer's resources. Maybe it's that thrill you get after -expressing your program's functionality in the fewest possible instructions -and the minimum imaginable overhead. Or maybe it really is of no importance -and any code bloat will be easily overcome by faster processors in some near -future. I just know what I like, and it's the sight of clean, concise, and -fast code. Therefore this library. - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package contains libraries and header files for -developing applications that use %{name}. - -%prep -%setup -q - -# No silent build. -sed -i -e 's|\t@|\t|g' Makefile - -# Don't strip the symbols, use correct flags -sed -i -e '/ -s -Wl,-gc-sections/s/ -s//g' \ - -e 's|CXXFLAGS :=|override CXXFLAGS +=|g' \ - Config.mk.in - -# Do not interfere with optflags -sed -i -e 's|-march=native||g' configure - -# Fix pkgconfig file -sed -i '/^prefix=/d' ustl.pc.in -sed -i -e 's|${prefix}/lib|%{_libdir}|g' ustl.pc.in -sed -i -e 's|${prefix}/include|%{_includedir}|g' ustl.pc.in - -%build -./configure \ - --prefix=%{buildroot}%{_prefix} \ -%ifarch %{ix86} - --without-mmx \ -%endif - --with-libstdc++ --force-inline - -%make_build CXXFLAGS+="%{optflags}" - -%install -%make_install \ - LIBDIR="%{buildroot}%{_libdir}" \ - INCDIR="%{buildroot}%{_includedir}" \ - PKGCONFIGDIR="%{buildroot}%{_libdir}/pkgconfig" - -chmod 755 -v %{buildroot}%{_libdir}/* - -%check -make check CXXFLAGS+="%{optflags}" - -%ldconfig_scriptlets - -%files -%license LICENSE -%doc README -%{_libdir}/libustl.so.* - -%files devel -%doc docs/* -%{_includedir}/ustl.h -%{_includedir}/ustl/ -%{_libdir}/libustl.so -%{_libdir}/pkgconfig/ustl.pc - -%changelog -* Thu Feb 10 2022 Denis Fateyev - 2.8-9 -- Spec modernize and cleanup - -* Sat Jan 22 2022 Fedora Release Engineering - 2.8-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 2.8-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 2.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 2.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 2.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 2.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 2.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Dec 30 2018 Denis Fateyev - 2.8-1 -- Update to 2.8 version - -* Thu Aug 02 2018 Denis Fateyev - 2.7-1 -- Update to 2.7 version - -* Sat Jul 14 2018 Fedora Release Engineering - 2.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 2.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 2.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat Dec 24 2016 Denis Fateyev - 2.5-1 -- Update to 2.5 version - -* Fri May 20 2016 Denis Fateyev - 2.4-1 -- Update to 2.4 version -- Dropping obsolete patches - -* Mon Feb 29 2016 Denis Fateyev - 2.3-1 -- Update to 2.3 version (including patches) - -* Fri Feb 05 2016 Fedora Release Engineering - 2.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 2.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 2.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Aug 08 2014 Yaakov Selkowitz - 2.1-3 -- Remove -march=native -- Disable SSE on ix86 (not supported by default optflags) - -* Tue Jul 29 2014 Christopher Meng - 2.1-2 -- Fix library location on lib64 system. - -* Tue Jan 21 2014 Christopher Meng - 2.1-1 -- Initial Package.