From f22657ec30ee86596b84dd239270281a4ad10b0d Mon Sep 17 00:00:00 2001
From: Jared Smith <jsmith(a)fedoraproject.org>
Date: Mar 31 2018 21:26:25 +0000
Subject: Update to upstream 1.6.6 release
---
diff --git a/.gitignore b/.gitignore
index e930ad3..3a33cf0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/conventional-changelog-angular-1.5.0.tgz
+/conventional-changelog-angular-1.6.6.tgz
+/conventional-changelog-angular-tests-1.6.6.tar.bz2
diff --git a/LICENSE-MIT b/LICENSE-MIT
deleted file mode 100644
index 0127a3a..0000000
--- a/LICENSE-MIT
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..7d82383
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,15 @@
+### ISC License
+
+Copyright © [conventional-changelog
team](https://github.com/conventional-changelog)
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff --git a/nodejs-conventional-changelog-angular.spec
b/nodejs-conventional-changelog-angular.spec
index c6b4b3d..a91defe 100644
--- a/nodejs-conventional-changelog-angular.spec
+++ b/nodejs-conventional-changelog-angular.spec
@@ -6,14 +6,22 @@
%global enable_tests 0
Name: nodejs-conventional-changelog-angular
-Version: 1.5.0
-Release: 2%{?dist}
+Version: 1.6.6
+Release: 1%{?dist}
Summary: A conventional-changelog angular preset
License: ISC
URL:
https://github.com/conventional-changelog/conventional-changelog-angular
Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-Source1: LICENSE-MIT
+# Test files not in NPM tarball
+# Source{1-9} are generated by running Source10, which pulls from the upstream
+# version control repository.
+Source1: %{packagename}-tests-%{version}.tar.bz2
+Source10: dl-cc-tests.sh
+
+# License file
+Source11:
https://raw.githubusercontent.com/conventional-changelog/conventional-cha...
+
ExclusiveArch: %{nodejs_arches} noarch
@@ -34,14 +42,18 @@ A conventional-changelog angular preset
%prep
%autosetup -n package
-cp -p %{SOURCE1} .
+# setup the tests
+%setup -q -T -D -a 1 -n package
+# license
+cp -p %{SOURCE11} .
+
%build
# nothing to do!
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
-cp -pr package.json index.js \
+cp -pr package.json *.js templates/ \
%{buildroot}%{nodejs_sitelib}/%{packagename}
%nodejs_symlink_deps
@@ -57,10 +69,13 @@ cp -pr package.json index.js \
%files
%doc *.md
-%license LICENSE-MIT
+%license LICENSE.md
%{nodejs_sitelib}/%{packagename}
%changelog
+* Thu Mar 29 2018 Jared Smith <jsmith(a)fedoraproject.org> - 1.6.6-1
+- Update to upstream 1.6.6 release
+
* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.5.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 5d19ef5..340393e 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (conventional-changelog-angular-1.5.0.tgz) =
1add2a49fe7074598b69b81d4a5aa382e0c098fc984d7b54978587e56dd29691251e19d4fd488263733bc5c224671acd41f540d54c54060bbae5e05b6899d954
+SHA512 (conventional-changelog-angular-1.6.6.tgz) =
b2e427152a82c51c3207163af29613b05906d2d6887629c72cd1005f98afb70f1b0919c8827a6f7079a547fca3532648acd3d80285e56355a210a5a0484e0136
+SHA512 (conventional-changelog-angular-tests-1.6.6.tar.bz2) =
07f65b0eef86949cbf3c3de967358008d6ba145832cdd5dffeff6f1e897b23630d32b82fad3b23ad6c2dd5e691538b96f66fcab163206391da9fa0bd78f4f7d1
https://src.fedoraproject.org/rpms/nodejs-conventional-changelog-angular/...