Use .mfiles generated during build

This commit is contained in:
Mikolaj Izdebski 2014-05-29 11:15:42 +02:00
parent 49304e8441
commit 43719067b1

View File

@ -30,7 +30,7 @@
Name: jdepend
Version: 2.9.1
Release: 10%{?dist}
Release: 11%{?dist}
Epoch: 0
Summary: Java Design Quality Metrics
License: BSD
@ -99,11 +99,8 @@ install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
# depmap
%add_maven_depmap JPP-%{name}.pom %{name}.jar
%files
%files -f .mfiles
%doc README LICENSE docs
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
%{_javadocdir}/%{name}-%{version}
@ -113,6 +110,9 @@ install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%{_datadir}/%{name}
%changelog
* Thu May 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.9.1-11
- Use .mfiles generated during build
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.9.1-10
- Use Requires: java-headless rebuild (#1067528)