#3 Use make macros
Merged 3 years ago by abbra. Opened 3 years ago by tstellar.
rpms/ tstellar/opendnssec make-macros  into  master

file modified
+7 -3
@@ -4,7 +4,7 @@ 

  Summary: DNSSEC key and zone management software

  Name: opendnssec

  Version: 2.1.6

- Release: 6%{?prever}%{?dist}

+ Release: 7%{?prever}%{?dist}

  License: BSD

  Url: http://www.opendnssec.org/

  Source0: http://www.opendnssec.org/files/source/%{?prever:testing/}%{name}-%{version}%{?prever}.tar.gz
@@ -61,7 +61,7 @@ 

  sh ./autogen.sh

  %endif

  %configure --with-ldns=%{_libdir}

- make %{?_smp_mflags}

+ %make_build

  

  %check

  # Requires sample db not shipped with upstream
@@ -69,7 +69,7 @@ 

  

  %install

  rm -rf %{buildroot}

- make DESTDIR=%{buildroot} install

+ %make_install

  mkdir -p %{buildroot}%{_localstatedir}/opendnssec/{tmp,signed,signconf,enforcer}

  install -d -m 0755 %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/cron.d/

  install -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/cron.d/opendnssec
@@ -182,6 +182,10 @@ 

  %systemd_postun_with_restart ods-signerd.service

  

  %changelog

+ * Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 2.1.6-7

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Thu May 28 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-6

  - Resolves: rhbz#1833718 ods-signerd.service missing .service

  

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

Pull-Request has been merged by abbra

3 years ago