Use .mfiles generated during build
This commit is contained in:
parent
69b2eb9a33
commit
d45169fd45
20
xz-java.spec
20
xz-java.spec
@ -1,17 +1,17 @@
|
||||
Name: xz-java
|
||||
Version: 1.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Java implementation of XZ data compression
|
||||
Group: Development/Libraries
|
||||
BuildArch: noarch
|
||||
|
||||
License: Public Domain
|
||||
URL: http://tukaani.org/xz/java.html
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: ant
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: java-headless
|
||||
|
||||
@ -25,8 +25,6 @@ for advanced users, including LZMA2 with preset dictionary.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
@ -52,20 +50,20 @@ cp -R build/doc %{buildroot}%{_javadocdir}/%{name}
|
||||
# pom
|
||||
install -dm 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
||||
%add_maven_depmap
|
||||
|
||||
%files
|
||||
%files -f .mfiles
|
||||
%doc COPYING README THANKS
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/xz.jar
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
|
||||
%files javadoc
|
||||
%doc COPYING
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-2
|
||||
- Use .mfiles generated during build
|
||||
|
||||
* Mon Mar 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
||||
- Update to upstream version 1.5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user