Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1948770 Details for
Bug 2162851
Review Request: symcrypt - Cryptographic library
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed change for a package
0001-Include-default-cmake-parameters-during-build.patch (text/plain), 1.62 KB, created by
Petr Menšík
on 2023-03-07 18:01:09 UTC
(
hide
)
Description:
Proposed change for a package
Filename:
MIME Type:
Creator:
Petr Menšík
Created:
2023-03-07 18:01:09 UTC
Size:
1.62 KB
patch
obsolete
>From 81b412ed00ac854d7dd2ec0ab5ca72848f95a7bc Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com> >Date: Tue, 7 Mar 2023 18:55:27 +0100 >Subject: [PATCH] Include default cmake parameters during build > >Use %cmake macro and similar macros. Keep also timestamps of headers and >pkgconfig file. >--- > SymCrypt.spec | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) > >diff --git a/SymCrypt.spec b/SymCrypt.spec >index d992014..433f1b7 100644 >--- a/SymCrypt.spec >+++ b/SymCrypt.spec >@@ -1,3 +1,5 @@ >+%bcond_without check >+ > Summary: Cryptographic library > Name: SymCrypt > License: MIT and BSD-2-Clause-Views >@@ -39,25 +41,26 @@ Windows library > %prep > %autosetup -p1 -n %{name}-%{version} > %build >-mkdir bin >-cd bin >-cmake .. \ >+%cmake \ > -DSYMCRYPT_USE_ASM=OFF \ >- -DCMAKE_BUILD_TYPE=Debug \ > -DSYMCRYPT_FIPS_BUILD=OFF >-make >+ >+%cmake_build > > %install > mkdir -p %{buildroot}%{_libdir}/pkgconfig > mkdir -p %{buildroot}%{_includedir} > >-install -m 755 bin/module/generic/libsymcrypt.so* %{buildroot}%{_libdir} >-install -m 644 bin/inc/*.h %{buildroot}%{_includedir} >-install -m 644 bin/symcrypt.pc %{buildroot}%{_libdir}/pkgconfig/ >+%cmake_install > >-%check >-./bin/exe/symcryptunittest >+install -m 755 %{__cmake_builddir}/module/generic/libsymcrypt.so* %{buildroot}%{_libdir} >+install -m 644 -p %{__cmake_builddir}/inc/*.h %{buildroot}%{_includedir} >+install -m 644 -p %{__cmake_builddir}/symcrypt.pc %{buildroot}%{_libdir}/pkgconfig/ > >+%check >+%if %{with check} >+ %{__cmake_builddir}/exe/symcryptunittest >+%endif > > %files > %license LICENSE >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2162851
: 1948770 |
1949025