The package rpms/nodejs-minstache.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-minstache.git/commit/?id=8....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 829c83ca862e16c48e4f5ecb2bfa1819b1b85cf5
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Mon Dec 24 12:40:19 2018 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1cfb51a..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/minstache-1.2.0.tgz
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index e96f7f3..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2014 TJ Holowaychuk <tj(a)vision-media.ca>
-
-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/dead.package b/dead.package
new file mode 100644
index 0000000..5204a84
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Orphaned for 6+ weeks
diff --git a/index.js b/index.js
deleted file mode 100644
index 572f625..0000000
--- a/index.js
+++ /dev/null
@@ -1,121 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var mm = require('..');
-
-describe('{id}', function(){
- it('should not work', function(){
- var user = { name: 'tobi' };
- mm('hi {name}.', user).should.equal('hi {name}.');
- })
-})
-
-describe('{{id}}', function(){
- it('should buffer', function(){
- var user = { name: 'tobi' };
- mm('hi {{name}}.', user).should.equal('hi tobi.');
- })
-
- it('should escape', function(){
- var user = { name: '<script>' };
- mm('hi {{name}}.', user).should.equal('hi <script>.');
- })
-
- it('should support nested props', function(){
- var user = { name: { first: 'tobi', last: 'ferret' }};
- mm('hi {{name.first}} {{name.last}}.', user).should.equal('hi tobi
ferret.');
- })
-
- it('should escape newlines', function(){
- var user = { name: 'tobi' };
- mm('hi,\nhow are you {{name}}?', user).should.equal('hi,\nhow are you
tobi?');
- })
-
- it('should escape quotes', function(){
- mm('"hey"').should.equal('"hey"');
- })
-
- it('should only match words', function(done){
- try {
- mm('hi {{name)}}.');
- } catch (err) {
- err.message.should.equal('invalid property "name)"');
- done();
- }
- })
-})
-
-describe('{{!id}}', function(){
- it('should be unescaped', function(){
- var user = { name: '<script>' };
- mm('hi {{!name}}.', user).should.equal('hi <script>.');
- })
-})
-
-describe('{{#id}}', function(){
- it('should pass through when truthy', function(){
- var user = { admin: true };
- mm('{{#admin}}yup{{/admin}}', user).should.equal('yup');
- })
-
- it('should ignore when falsey', function(){
- var user = { admin: false };
- mm('admin: {{#admin}}yup{{/admin}}', user).should.equal('admin: ');
- })
-
- it('should ignore when undefined', function(){
- var user = {};
- mm('admin: {{#admin}}yup{{/admin}}', user).should.equal('admin: ');
- })
-
- it('should support nested tags', function(){
- var user = { admin: true, name: 'tobi' };
- mm('{{#admin}}{{name}} is an admin{{/admin}}', user).should.equal('tobi
is an admin');
- })
-
- it('should support nested conditionals', function(){
- var user = { admin: true, authenticated: true };
- mm('{{#admin}}{{#authenticated}}yup{{/}}{{/}}',
user).should.equal('yup');
- })
-
- it('should support lambdas', function(){
- var obj = {
- md: function(str){
- return str.replace(/_(.*?)_/g, '<em>$1</em>');
- }
- };
-
- mm('{{#md}}some _markdown_ awesome!{{/md}}', obj)
- .should.equal('some <em>markdown</em> awesome!');
- })
-
- it('should iterate arrays', function(){
- var contacts = { contacts: [{ name: 'tobi' }, { name: 'loki' }, {
name: 'jane' }] };
-
mm('<ul>{{#contacts}}<li>{{name}}</li>{{/contacts}}</ul>',
contacts)
-
.should.equal('<ul><li>tobi</li><li>loki</li><li>jane</li></ul>');
- })
-})
-
-describe('{{^id}}', function(){
- it('should ignore when truthy', function(){
- var user = { admin: true };
- mm('{{^admin}}yup{{/admin}}', user).should.equal('');
- })
-
- it('should pass through when falsey', function(){
- var user = { admin: false };
- mm('admin: {{^admin}}nope{{/admin}}', user).should.equal('admin:
nope');
- })
-
- it('should support nested tags', function(){
- var user = { admin: false, name: 'tobi' };
- mm('{{^admin}}{{name}} is not an admin{{/admin}}',
user).should.equal('tobi is not an admin');
- })
-
- it('should support nested conditionals', function(){
- var user = { admin: false, authenticated: false };
- mm('{{^admin}}{{^authenticated}}nope{{/}}{{/}}',
user).should.equal('nope');
- })
-})
diff --git a/nodejs-minstache.spec b/nodejs-minstache.spec
deleted file mode 100644
index 44c581d..0000000
--- a/nodejs-minstache.spec
+++ /dev/null
@@ -1,84 +0,0 @@
-%global enable_tests 1
-%global module_name minstache
-
-Name: nodejs-%{module_name}
-Version: 1.2.0
-Release: 7%{?dist}
-Summary: Mini mustache template engine
-
-License: MIT
-URL:
https://github.com/visionmedia/minstache
-Source0:
http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
-Source1:
https://raw.githubusercontent.com/visionmedia/minstache/master/test/index.js
-#
https://github.com/visionmedia/minstache/pull/16
-Source2: LICENSE
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
-
-BuildRequires: nodejs-packaging
-
-%if 0%{?enable_tests}
-BuildRequires: npm(mocha)
-BuildRequires: npm(should)
-%endif
-
-Requires: npm(commander)
-
-%description
-%{summary}.
-
-%prep
-%setup -q -n package
-rm -rf node_modules
-
-cp -p %{SOURCE2} .
-
-mkdir test
-cp -p %{SOURCE1} test
-
-%nodejs_fixdep commander ~2.x
-
-%build
-# nothing to build
-
-%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
-cp -pr package.json index.js bin/ %{buildroot}%{nodejs_sitelib}/%{module_name}
-mkdir -p %{buildroot}%{_bindir}
-ln -s %{nodejs_sitelib}/%{module_name}/bin/minstache %{buildroot}%{_bindir}/minstache
-
-%nodejs_symlink_deps
-
-%if 0%{?enable_tests}
-%check
-%nodejs_symlink_deps --check
-mocha --require should --reporter spec
-%endif
-
-%files
-%doc Readme.md LICENSE
-%{_bindir}/minstache
-%{nodejs_sitelib}/%{module_name}
-
-%changelog
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.0-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.0-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.2.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sun Dec 07 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.0-1
-- Initial packaging
-
diff --git a/sources b/sources
deleted file mode 100644
index d8a4e7a..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-5bc1987f17a2333e1bc122a4f2d654c0 minstache-1.2.0.tgz