Use .mfiles generated during build

This commit is contained in:
Mikolaj Izdebski 2014-05-21 17:44:33 +02:00
commit add3ab6f6c

View file

@ -5,7 +5,7 @@
Name: apache-%{short_name}
Version: 1.0
Release: 29%{?dist}
Release: 30%{?dist}
Summary: The Apache Commons Extension Language
License: ASL 1.1
URL: http://commons.apache.org/%{base_name}
@ -79,12 +79,11 @@ install -pD -T -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.p
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
%files
%files -f .mfiles
%doc LICENSE.txt STATUS.html
%{_javadir}/%{name}.jar
%{_javadir}/%{short_name}.jar
%{_mavenpomdir}/JPP-%{short_name}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
%doc LICENSE.txt
@ -92,6 +91,9 @@ cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-30
- Use .mfiles generated during build
* Tue Oct 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-29
- Remove versioned symlinks
- Add workaround for rhbz#1015612