diff --git a/erlang-proper.spec b/erlang-proper.spec index edbe0de..1f93d4b 100644 --- a/erlang-proper.spec +++ b/erlang-proper.spec @@ -5,7 +5,7 @@ Name: erlang-%{srcname} Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A QuickCheck-inspired property-based testing tool for Erlang License: GPLv3+ @@ -43,11 +43,11 @@ open-source property-based testing tool for Erlang. %install -install -d $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{srcname}-%{version}/ebin -install -d $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{srcname}-%{version}/include +install -d $RPM_BUILD_ROOT/%{_erllibdir}/%{srcname}-%{version}/ebin +install -d $RPM_BUILD_ROOT/%{_erllibdir}/%{srcname}-%{version}/include -install -pm644 ebin/* $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{srcname}-%{version}/ebin -install -pm644 include/proper* $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{srcname}-%{version}/include +install -pm644 ebin/* $RPM_BUILD_ROOT/%{_erllibdir}/%{srcname}-%{version}/ebin +install -pm644 include/proper* $RPM_BUILD_ROOT/%{_erllibdir}/%{srcname}-%{version}/include %files @@ -55,10 +55,13 @@ install -pm644 include/proper* $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{srcname}-% %doc doc %doc examples %doc README.md -%{_libdir}/erlang/lib/%{srcname}-%{version} +%{_erllibdir}/%{srcname}-%{version} %changelog +* Sat Jan 09 2016 Randy Barlow - 1.1-3 +- Use the erllibdir macro. + * Thu Jan 07 2016 Randy Barlow - 1.1-2 - Correct the license from GPLv3 to GPLv3+.