summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/opencore-amr.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/packaging/opencore-amr.spec b/packaging/opencore-amr.spec
index 9f01bef..6b854cc 100644
--- a/packaging/opencore-amr.spec
+++ b/packaging/opencore-amr.spec
@@ -1,7 +1,7 @@
Name: opencore-amr
Summary: Opencore AMR package
Version: 0.1.3
-Release: 0
+Release: 1
Group: Multimedia/Framework
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -30,9 +30,6 @@ cp %{SOURCE1001} .
make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
%make_install
%post -p /sbin/ldconfig
@@ -42,10 +39,10 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
%files
%manifest %{name}.manifest
+%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/libopencore-amrnb.so*
%{_libdir}/libopencore-amrwb.so*
-%{_datadir}/license/%{name}
%files devel
%manifest %{name}.manifest