Remove dependency on snappy when building without it
This commit is contained in:
parent
f2fc9ca765
commit
74d854d4e6
@ -2,7 +2,7 @@
|
||||
|
||||
Name: plexus-archiver
|
||||
Version: 3.5
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Plexus Archiver Component
|
||||
License: ASL 2.0
|
||||
@ -49,6 +49,7 @@ Javadoc for %{name}.
|
||||
%mvn_file :%{name} plexus/archiver
|
||||
|
||||
%if %{without snappy}
|
||||
%pom_remove_dep org.iq80.snappy:snappy
|
||||
rm -rf src/main/java/org/codehaus/plexus/archiver/snappy
|
||||
rm -f src/main/java/org/codehaus/plexus/archiver/tar/SnappyTarFile.java
|
||||
rm -f src/main/java/org/codehaus/plexus/archiver/tar/PlexusIoTarSnappyFileResourceCollection.java
|
||||
@ -67,6 +68,9 @@ rm -f src/main/java/org/codehaus/plexus/archiver/tar/PlexusIoTarSnappyFileResour
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.5-3
|
||||
- Remove dependency on snappy when building without it
|
||||
|
||||
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.5-2
|
||||
- Conditionally allow building without snappy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user