From 6b7db9941340ba0370c19a897718a44f9b1a7fce Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 20 Feb 2017 10:34:40 +0100 Subject: [PATCH] Switch to rpmmacrodir --- live555.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/live555.spec b/live555.spec index ae91a7c..41ab4a9 100644 --- a/live555.spec +++ b/live555.spec @@ -78,12 +78,12 @@ sed -i -e "s|-O2|%{optflags}|" \ %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} #RPM Macros support -mkdir -p %{buildroot}%{_sysconfdir}/rpm -cat > %{buildroot}%{_sysconfdir}/rpm/macros.live555 << EOF +mkdir -p %{buildroot}%{rpmmacrodir} +cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF # live555 RPM Macros %live555_version %{version} EOF -touch -r COPYING %{buildroot}%{_sysconfdir}/rpm/macros.live555 +touch -r COPYING %{buildroot}%{rpmmacrodir}/macros.%{name} #Fix library dependency detection chmod +x %{buildroot}%{_libdir}/*.so* @@ -105,7 +105,7 @@ chmod +x %{buildroot}%{_libdir}/*.so* %files devel %doc COPYING README -%config %{_sysconfdir}/rpm/macros.live555 +%{rpmmacrodir}/macros.%{name} %{_libdir}/libBasicUsageEnvironment.so %{_libdir}/libgroupsock.so %{_libdir}/libliveMedia.so