Skip to content

Commit

Permalink
libsprio: upgrade version 20190731 -> 20221101 to address CVE-2019-19847
Browse files Browse the repository at this point in the history
 (microsoft#6267)

Signed-off-by: Muhammad Falak R Wani <[email protected]>
  • Loading branch information
mfrw authored Oct 3, 2023
1 parent c333521 commit fa58e6b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion SPECS-EXTENDED/libspiro/libspiro.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libspiro-20190731.tar.gz": "24c7d1ccc7c7fe44ff10c376aa9f96e20e505f417ee72b63dc91a9b34eeac354"
"libspiro-20221101.tar.gz": "5984fb5af3e4e1f927f3a74850b705a711fb86284802a5e6170b09786440e8be"
}
}
38 changes: 20 additions & 18 deletions SPECS-EXTENDED/libspiro/libspiro.spec
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
Summary: Library to simplify the drawing of beautiful curves
Name: libspiro
Version: 20221101
Release: 1%{?dist}
License: GPL-3.0-or-later
Vendor: Microsoft Corporation
Distribution: Mariner
Name: libspiro
Version: 20190731
Release: 3%{?dist}
Summary: Library to simplify the drawing of beautiful curves

# The files that are used to compile this library are all in GPLv3+
# https://github.com/fontforge/libspiro/issues/8
License: GPLv3+
URL: https://github.com/fontforge/libspiro/
Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-%{version}.tar.gz
BuildRequires: automake autoconf libtool
Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-dist-%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make

%description
This library will take an array of spiro control points and
convert them into a series of bézier splines which can then
be used in the myriad of ways the world has come to use béziers.
This library will take an array of spiro control points and
convert them into a series of bézier splines which can then
be used in the myriad of ways the world has come to use béziers.

%package devel
Summary: Development files for %{name}
Expand All @@ -29,14 +27,12 @@ developing applications that use %{name}.
%autosetup -n libspiro-%{version}

%build
autoreconf -i
automake --foreign -Wall
%configure --disable-static
make %{?_smp_mflags}
%make_build

%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%make_install
find %{buildroot} -type f -name "*.la" -delete -print

%files
%doc README* ChangeLog AUTHORS
Expand All @@ -47,8 +43,14 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libspiro.pc
%{_mandir}/man3/libspiro.3.gz

%changelog
* Fri Oct 15 2021 Muhammad Falak <[email protected]> - 20221101-1
- Bump version to address CVE-2019-19847
- Lint spec
- License verified

* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 20190731-3
- Initial CBL-Mariner import from Fedora 32 (license: MIT).

Expand Down
6 changes: 3 additions & 3 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11071,8 +11071,8 @@
"type": "other",
"other": {
"name": "libspiro",
"version": "20190731",
"downloadUrl": "https://github.com/fontforge/libspiro/releases/download/20190731/libspiro-20190731.tar.gz"
"version": "20221101",
"downloadUrl": "https://github.com/fontforge/libspiro/releases/download/20221101/libspiro-dist-20221101.tar.gz"
}
}
},
Expand Down Expand Up @@ -30907,4 +30907,4 @@
}
],
"Version": 1
}
}

0 comments on commit fa58e6b

Please sign in to comment.