Browse Source

update snapshot

master
parent
commit
bf4617fbec
  1. 25
      sinopia/sinopia.spec

25
sinopia/sinopia.spec

@ -36,7 +36,7 @@ Class: EVAL
Group: Networking
License: WTFPL
Version: %{V_sinopia_base}
Release: 20170101
Release: 20170115
# list of sources
Source0: http://download.openpkg.org/components/versioned/sinopia/sinopia-%{V_sinopia_base}-%{V_sinopia_snap}.tar.xz
@ -45,7 +45,7 @@ Source2: sinopia.yaml
Source3: rc.sinopia
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101
BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg
PreReq: OpenPKG, openpkg >= 20160101, node
%description
@ -74,25 +74,10 @@ PreReq: OpenPKG, openpkg >= 20160101, node
) || exit $?
rm -rf node_modules/dtrace-provider
%install
# strip down program
find . -name test -type d -print | xargs rm -rf
find . -name tests -type d -print | xargs rm -rf
find . -name doc -type d -print | xargs rm -rf
find . -name examples -type d -print | xargs rm -rf
find . -name docs -type d -print | xargs rm -rf
find . -name debian -type d -print | xargs rm -rf
find . -name Makefile -type f -print | xargs rm -f
find . -name .npmignore -type f -print | xargs rm -f
find . -name .travis.yml -type f -print | xargs rm -f
find . -name "*.orig" -type f -print | xargs rm -f
find . -name CHANGELOG -type f -print | xargs rm -f
find . -name LICENSE -type f -print | xargs rm -f
find . -name README.md -type f -print | xargs rm -f
find . -name Readme.md -type f -print | xargs rm -f
find . -name readme.md -type f -print | xargs rm -f
find . -name History.md -type f -print | xargs rm -f
# prune files
%{l_prefix}/bin/node-openpkg squeeze
%install
# install program
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/lib/sinopia

Loading…
Cancel
Save