SHA256
1
0
forked from pool/dynamips

Accepting request 1151821 from home:dimstar:rpm4.20:d

- Set CMAKE_INSTALL_DOCDIR to work around incompatible changes
  added to macros.cmake.

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  PatchN.

OBS-URL: https://build.opensuse.org/request/show/1151821
OBS-URL: https://build.opensuse.org/package/show/Education/dynamips?expand=0&rev=57
This commit is contained in:
Atri Bhattacharya 2024-04-08 07:31:37 +00:00 committed by Git OBS Bridge
parent a7e13e7bf7
commit 634c50ddfb
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 26 15:49:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Set CMAKE_INSTALL_DOCDIR to work around incompatible changes
added to macros.cmake.
-------------------------------------------------------------------
Mon Feb 26 08:11:24 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
PatchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 12 17:36:33 UTC 2023 - Martin Hauke <mardnh@gmx.de> Thu Jan 12 17:36:33 UTC 2023 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package dynamips # spec file for package dynamips
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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
@ -45,14 +45,14 @@ simply a complementary tool to real labs for administrators of Cisco networks
or people wanting to pass their CCNA/CCNP/CCIE exams. or people wanting to pass their CCNA/CCNP/CCIE exams.
%prep %prep
%setup -q %autosetup -p1
%patch1 -p1
%build %build
%cmake \ %cmake \
%ifarch x86_64 %ifarch x86_64
-DYNAMIPS_ARCH=amd64 \ -DYNAMIPS_ARCH=amd64 \
%endif %endif
-DCMAKE_INSTALL_DOCDIR:STRING=%{_datadir}/doc/%{name}
.. ..
%make_jobs %make_jobs